[cvsnt] Re: Mirror a CVSNT site

Werner, Harveyx D harveyx.d.werner at intel.com
Thu Apr 8 21:25:33 BST 2004


Thank you for your reply. Yes, I can see how what you say is correct.

I should have explained more about our "latency problem." We have a
large repository on the order of 15k to 20k files. The problem is in the
update process. It takes over 30 minutes sometimes and that is not
acceptable to our developers in China.

It looks like the real solution is to get faster routers in place, so I
will push for that.

- Harvey Werner

>-----Original Message-----
>From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On
Behalf Of
>Bo Berglund
>Sent: Thursday, April 08, 2004 11:25 AM
>To: cvsnt at cvsnt.org
>Subject: [cvsnt] Re: Mirror a CVSNT site
>
>On Thu, 8 Apr 2004 09:38:02 -0700, "Werner, Harveyx D"
><harveyx.d.werner at intel.com> wrote:
>
>>I have CVSNT 2.0.34 running on a local Windows 2000 AS machine serving
>>several CVS repositories. Our group works with a counterpart site in
>>Shanghai China and due to network latency they would like to have a
>>local copy of our repositories.
>>
>>Could someone point me to information on how to set this up? How can a
>>CVS repository be mirrored to a remote site?
>>
>
>You can only "mirror" a readonly copy to a remote site (like
>SourceForge does). But there is no way that a live CVS server can
>syncronize its repository to another also live server.
>Just think about it a while and you'll see the problems:
>- two users have checked out the same file but from different servers
>- they get the HEAD which is rev 1.13
>- both edit the file
>- both commit almost at the same time and the result is rev 1.14
>- but these edits now carry:
>  - different edits (they did not do the same thing)
>  - different timetamps (they are not *exactly* the same)
>  - different commit user (obviously)
>  - but the same revision!
>
>How could this be solved?
>Well, it can't and this is just why you cannot do a synch on two live
>servers.
>
>But what about the network latency? Isn't there full bandwidth
>connection available nowadays to China as well?
>
>
>/Bo
>(Bo Berglund, developer in Sweden)
>_______________________________________________
>cvsnt mailing list
>cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt




More information about the cvsnt mailing list