bug
authorJoey Hess <joeyh@joeyh.name>
Wed, 30 Jun 2021 20:44:30 +0000 (16:44 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 30 Jun 2021 20:44:30 +0000 (16:44 -0400)
doc/bugs/Git_repos_corrupt_themselves.mdwn
doc/bugs/assistant_repair_misfires.mdwn [new file with mode: 0644]

index 9964c48545d2999514369e20719da13b5cc10b89..9bef0746861ad3591f51d5adbae716fcd555d918 100644 (file)
@@ -105,4 +105,5 @@ Git fsck spat out a huge list of broken blobs and trees.
 
 There are a surprising amount of weird bugs and quirks like these but it's such an amazing tool, there's nothing like it.
 
-> [[fixed|done]] --[[Joey]]
+> [[fixed|done]] although I have opened [[assistant_repair_misfires]] for
+> part of the cause of this. --[[Joey]]
diff --git a/doc/bugs/assistant_repair_misfires.mdwn b/doc/bugs/assistant_repair_misfires.mdwn
new file mode 100644 (file)
index 0000000..fbb6a8e
--- /dev/null
@@ -0,0 +1,15 @@
+The assistant's git-annex repair sometimes happens when git fsck does not
+actually detect any problems.
+
+See [[Git_repos_corrupt_themselves]] of which this was part of the cause,
+although the data loss part of that was solved.
+
+I saw this happen on my sister's laptop, in a freshly cloned repo,
+with a git-annex version that fixed that data loss.
+assistant was set up to fsck and on the very first fsck it started git
+repair. git fsck reported no problems at all. --[[Joey]]
+
+> .git/annex/fsckresults/$uuid was empty, which means that
+> writeFsckResults was called with FsckFailed. So apparently
+> the fsck exited nonzero for some reason, but did not detect
+> any misssing shas.