[Csync2] Issues with synced git clones

Lars Ellenberg lars.ellenberg at linbit.com
Thu Dec 21 17:35:10 CET 2017


On Thu, Dec 21, 2017 at 02:43:58AM +0100, Dominik George wrote:
> Hi,
> 
> we are having strange issues with syncing directories containing clones
> of git repositories. We were using unison before, and it suspiciously
> showed the same issues…
> 
> What happends is hard to describe, but it looks like the git index gets
> broken. The effect is that all nodes in the cluster end up with a broken
> state, namely with a lot of untracked files in the repository.
> 
> Some details that might be of interest:
> 
>  * In the synced directory tree, there are several clones of the same
>    git repository
>  * Changes are made only on one node
>  * csync is configured to prefer the younger copy of a file
> 
> Any ideas on that?

I would have some ideas on git and git index as well, ...

but let me first ask:
git is a distributed version control system,
so why are you not using *git* to distribute stuff?
as in git push/fetch/pull/remote update and so on?

Cheers,

	Lars



More information about the Csync2 mailing list