[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-04-19 08:46:09 CEST

On 4/19/07, Kylo Ginsberg <kylo.ginsberg@gmail.com> wrote:
> On 4/18/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> > On 4/18/07, Kylo Ginsberg <kylo.ginsberg@gmail.com> 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?
> > Subversion checks all the return values of all I/O calls, including
> > read/write calls. Yes, it should be safe to run it in a low-diskspace
> > situation.
> Thanks; that's reassuring to hear. Is a low-diskspace situation part
> of the regression test suite? (I looked briefly through the
> subversion/tests source but didn't get oriented well enough to answer
> this question.)

No, it's not... (So you don't have to look any further)

> > There's one exception: you have to use a recent enough APR
> > version: more recent than 0.9.7, I think. ... I'm not
> > sure which version FC4 has, but apr-config --version should be able to
> > tell you.
> >
> Well, apr-config --version shows 0.9.6, but if I cd to the directory
> in which I built subversion 1.4.3, apr/apr-config --version shows
> 0.9.12. How can I confirm that svn/svnserve/mod_dav_svn will find the
> more current apr lib(s)? (I built from a directory with both the
> subversion tarball and the subversion dependencies tarball.)

mod_dav_svn will use the version against which your Apache has been
built, regardless of whether you built it against 0.9.12, so, if you
use the system-delivered Apache, I'd say you're using 0.9.6...

I just verified: yes, you do need at least 0.9.7 which contains the
fix for buffered files to fix the low-disk condition.

You should be able to replace the 0.9.6 image without problems with
the 0.9.12 image though: APR is designed to be 100% backward



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 19 08:46:46 2007

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