From: Les Mikesell [mailto:lesmikes...@gmail.com] 
> On 8/2/2010 11:42 AM, Vallon, Justin wrote:
> > So, my follow up is:  If I unplug the network cable between svn-commiter 
> > and filesystem, will the repository be corrupt?
> >
> > If yes, then the underlying database is not atomic and therefore not 
> > transactional.
> >
> > If no, then the server can take a snapshot at any point in time, and the 
> > snapshot is guaranteed to be consistent.
>
> A better match for comparison would be what happens if the server 
> crashes mid-transaction.  A backup taken with the server active might 
> catch the same state.  So the more relevant question would be if the 
> repository will always be consistent after a server crash.

That is the situation I raised.  If the network connection between the host 
that is modifying the repository and the filesystem that houses the repository 
is lost, will be repository be (a) corrupt, (b) require cleanup (locks, etc), 
(c) pristine?

(c) is great
(b) is ok
(a) means the operations are not transactional

Further:

(c) snapshots work
(b) snapshots work, but need a cleanup after restore
(a) snapshots don't work; repository is not transactional, either

-- 
-Justin

Reply via email to