Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 1998 21:42:24 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        John Polstra <jdp@polstra.com>, hackers@FreeBSD.ORG
Subject:   Re: nfs exported FreeBSD cvs repository, mounted on client, update problems 
Message-ID:  <199805180342.VAA22777@mt.sri.com>
In-Reply-To: <199805180210.TAA05964@antipodes.cdrom.com>
References:  <199805172208.PAA07702@austin.polstra.com> <199805180210.TAA05964@antipodes.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> How difficult would it be for CVSup to lock the entire repository while 
> it's running?  Is it worth the effort?

Easy, but expensive, since CVS doesn't use a global lock for all
commits.  It would have to lock every directory in the entire tree down,
something CVS isn't willing to do.

However, as time and millions of commits have proven, not 'global'
locking the tree down *rarely* (< .001%) causes any problems.  Terry
will pipe up now and try to get us to optimize the rare case, but as any
good engineer nows that penalizes the standard case for the rare case is
always a bad idea.



Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805180342.VAA22777>