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

Re: ra_svn replay-range + svnsync + mod_dav_svn = corrupted revisions!

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Tue, 11 Aug 2009 15:11:08 -0500

On Mon, Aug 10, 2009 at 9:55 PM, David Glasser<glasser_at_davidglasser.net> wrote:

> SUGGESTED SOLUTION: All commit editors, but especially ra_neon and
> ra_serf, should track whether or not any of their operations returned
> an error and if so, turn close_edit into abort_edit.  (In fact,
> perhaps do this for *every* operation.)

I think this should happen in mod_dav_svn. gstein says it's fine as well.

It's just very tricky to do this cleanly in mod_dav_svn -- there's no
'magic' point where we can auto-abort a txn when throwing an error up
from mod_dav_svn to mod_dav. Well, there *is* a function that
converts an svn_error_t to a dav_error_t, but it has no context about
who's calling it. I'm gonna have to dig around a bit.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2382657
Received on 2009-08-11 22:11:23 CEST

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.