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

Re: Diffs for running svnserve as a Win32 service

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-23 05:18:45 CET

On 2/22/06, D.J. Heap <djheap@gmail.com> wrote:
> On 2/22/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > On 2/22/06, D.J. Heap <djheap@gmail.com> wrote:
> >
> > > Can the ra_dav experts explain how mod_dav_svn handles it when Apache
> > > is shut down? Such as if a big commit was in progress to a BDB
> > > backend?
> >
> > Depends on how you shut it down. A graceful shutdown will have apache
> > wait until in-progress connections are closed, a regular shutdown will
> > eventually kill off worker processes if they don't exit reasonably
> > quickly.
> >
>
> So mod_dav_svn doesn't handle any special signals or try to clean up
> and get out early if an unfinished commit is in progress?

Not that I'm aware of. It's hard to do things like that in apache
because you don't know if you're in an environment that will let you
set up a signal handler. Signal handlers are global, you could be in
a multithreaded MPM, etc.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 23 05:19:03 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.