[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of CVS on large scales

From: Larry Jones
Subject: Re: Use of CVS on large scales
Date: Fri, 8 Jun 2001 16:14:52 -0400 (EDT)

Donald Sharp writes:
> Just to make sure everyone knows.  CVS file locking is done for
> both reads and writes on a per directory basis in the repository.

As a further note, there can be lots of read locks on a directory at the
same time, but only one write lock (and there can't be any read locks
when there's a write lock).  Which means that lots of people can be
reading the same directory at the same time without interfering with
each other (until there are lots and lots and lots of them such that
contention for the master lock that allows you to create other locks
becomes a problem), but lots of people reading will make it almost
impossible to write to that directory (the current locking scheme
doesn't prevent people from getting new read locks when there's someone
waiting for a write lock, so you may have to wait a very long time).

-Larry Jones

All this was funny until she did the same thing to me. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]