Does git-annex sync converge?

Joey Hess joey at kitenet.net
Thu Mar 1 16:29:39 CET 2012


Thomas Koch wrote:
> given 3..n git-annex repositories that all have the other repositories defined 
> as remotes and all repositories doing syncs to random other repositories in a 
> random order and no file being added or removed during this process:
> 
> Will all repos converge at some point in time? Or does every sync process 
> cause a change in the git repository which in turn will cause changes in all 
> other git repositories? In the latter case it might not be a good idea to set 
> up regular unattended syncs between git-annex repos?

Sync should converge given a well-enough connected network and enough
nodes within it running sync, although I lack a full proof of this and
haven't tried to quantify the details. (Joachim Breitner may have one).

There was a bug that caused a "commit ladder" in gitk,
but a kind user pointed out the problem and it's been fixed for a while;
git-annex merge does fast-forward merges whenever possible.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20120301/9b1e95d4/attachment.pgp>


More information about the vcs-home mailing list