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

Re: Summer of Code

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-04-19 19:43:52 CEST

Peter Samuelson wrote:
> [eg]
>
>> How about adding the ability to "safely" shutdown svnserve. By
>> safely, I mean no chance of data loss or repository corruption.
>>
>
> Would it be sufficient to stop accepting new connections, finish
> whatever is in progress, then die? Without looking at the svnserve
> code in any detail, that sounds like a rather small project.
>
> If you want to be able to interrupt current transactions immediately,
> clean them up reliably, then die, that would be a lot less trivial.
>
Given that most of that support is already in svnserve now -- it was
part of the change that added native Windows service support, and it
involves simply closing the listening socket when an appropriate signal
is caught -- i'd estimate it as about two days' work to port it so using
POSIX signals.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 20 09:23:53 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.