[cvsnt] replication between two CVS servers

Peter Crowther Peter.Crowther at melandra.com
Fri Aug 6 12:03:11 BST 2004


> From: zouhair bounouala [mailto:bozouhair at hotmail.com] 
> Is it possible to setup a CVS server (cvsnt) 
> running under 
> windows2000 in India and it should automatically communicate 
> with US server?

It is possible to configure a read-only mirror.  It is *not* possible to
configure a read/write mirror.  The proof is as follows:

- Revision 1.1 of a file exists, and is checked out by developer I in
India and developer U in the USA.

- Developers I and U make different revisions to the file.

- Developers I and U commit their revisions in at the same time.

- Each is allocated revision 1.2 on 'their' server.

- Mirroring fails *or* overwrites somebody's changes.

On a single server, CVS serialises requests, so one developer's work
would be committed first and the other would be merged with it.  It is
not possible to guarantee this with multiple CVS servers, as it is
always possible that the interval between two developers committing work
is smaller than the replication delay.

Sorry.

		- Peter



More information about the cvsnt mailing list