git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git annex possible bug
@ 2019-01-31 16:48 Robert Cathles
  2019-01-31 22:40 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Cathles @ 2019-01-31 16:48 UTC (permalink / raw)
  To: git

We use git annex and found an issue where one machine that had run
'git annex sync' and 'git annex sync --content' was not reporting any
issues, but any other machines were report 99 issues when running 'git
annex get'.

The message for each file was that it was not known to exist on any
repo. doing some searching I found 'git annex fsck' so ran that in the
following fashion on the 'broken' machines: 'git annex fsck
--from=LocalMirrorName --fast'. During this we saw git was updating
the location log for nearly all the missing files. Running 'git annex
get' afterwards resolved the issue and got the files. We found we had
to repeat this on all affected machines.

The machine that did the original sync was running git 2.7.4 and other
machines were either running the same, or 2.17.1.

A test I also tried: I copied one annex file from inside the .git
folder of the original machine that ran the sync, and added it to the
same location on a broken machine, then ran sync and get, and it
reported 98 issues instead.

Does this seem like a bug with git annex? Is there a possible gap in
the way that git annex reports that all is fine - perhaps to do with
the index? Or does this seem to be more likely an issue we created
ourselves? Would there have been any other commands we could have run
to resolve this issue or should have tried out first? (Apart from just
deleting each of our clones and starting again)

Robert

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-31 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 16:48 Git annex possible bug Robert Cathles
2019-01-31 22:40 ` Ævar Arnfjörð Bjarmason

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).