[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion robust to server-side disk full errors?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-18 21:51:38 CEST

On Apr 18, 2007, at 14:39, Kylo Ginsberg wrote:

> I'm running subversion 1.4.3 under Fedora Core 4 with both svn:// and
> http:// access methods supported. Is subversion tested against the
> error case where the server runs out of disk space mid-commit? (I
> seem to recall a report of a repository corruption problem resulting
> from this scenario.)
> If not, is there a recommended practice for a pre-commit script that
> will reject a commit if it would cause disk full? (This second
> question assumes subversion is robust to the case where it runs out of
> disk space while creating the transaction file itself.)

I don't know if Subversion is robust in either of these cases.

But you could write a start-commit hook to reject all commits when
disk space is less than some number. The start-commit hook is
executed before the client has transferred the transaction data to
the server.

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 18 21:52:09 2007

This is an archived mail posted to the Subversion Users mailing list.