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

Re: stress.pl failing over ra_svn [PATCH]

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-29 03:45:16 CET

On Fri, Mar 28, 2003 at 11:03:53AM -0500, Greg Hudson wrote:
> On Thu, 2003-03-27 at 10:31, Philip Martin wrote:
> > I am using the following patch which lets me run stress.pl over
> > ra_svn. However I am not altogether happy about the way it drops all
> > the errors in svnserve/serve.c:commit. Perhaps "acceptable" and
> > "unacceptable" errors need to be distinguished, with only the former
> > being dropped?
>
> Hm. I'm afraid I didn't do a great job of sorting out what state the
> protocol should be in after an error. Perhaps it would be simplest if
> all errors are followed by a close of connection; I'm not sure if there
> is a case where this would be a bad thing. (This has implications for
> the ra_lib interface, of course; it means if you get an error from any
> ra_lib function or subsidiary editor or reporter function, you must
> create a new ra_lib session in order to do anything else.)

Hunh? That doesn't hold. You can lazily re-open the connection upon the next
RA operation that requires talking to the server.

(Neon auto-reconnects on the next request whenever the connection drops)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 29 03:42:43 2003

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.