[cvsnt] Re: Benefits of CVSNT vs cvs (cyclic) 1.11.x???

Rick Silton rick_silton at yahoo.com
Thu May 29 14:17:04 BST 2003


Alexandre Augusto Drummond Barroso wrote:

> [snip]
> > If someone
> > starts a checkout while another commit is in progress then it is very
> > possible for the sandbox to be "corrupted" in the sense that it is
> > inconsistent with itself.  I.e. the module compiles fine before the
> > commit, it compiles fine after the commit, but a sandbox 
> > created during
> > the commit fails.  By the way, I've seen this happen quite regularly.
> > 
> > If I remember my database theory (which is suspect) then what 
> > is needed is
> > for readers (of the elements being written) to be held off until the
> > commit is finished - i.e. the transactions need to be serialized.
> > 
> No, it does not, I think. When a commit "transaction" starts, the only 
> thing the server needs to do is to keep in memory the revision number of 
> each file in the module the transaction occours. Every checkout and update 
> during the transaction would retrieve the last allowed revision (wich would 
> be the last revision before the transaction started). The new commited 
> release of each file slhuld be available just after the transaction 
> finishes. 


That sounds very good to me (much better than holding off the
checkout/update requests).

- Rick







More information about the cvsnt mailing list