File: day_38__starting_git_repo_repair.mdwn

package info (click to toggle)
git-annex 5.20141125
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 37,828 kB
  • ctags: 583
  • sloc: haskell: 42,582; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (11 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
Goal for the rest of the month is to build automatic recovery git
repository corruption. Spent today investigating how to do it and came up
with a fairly [[detailed_design|design/assistant/disaster_recovery]]. It
will have two parts, first to handle repository problems that can be fixed
by fetching objects from remotes, and secondly to recover from problems
where data never got sent to a remote, and has been lost.

In either case, the assistant should be able to detect the problem and
automatically recover well enough to keep running. Since this also affects
non-git-annex repositories, it will also be available in a standalone
`git-recover-repository` command.