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

Re: Aborting Subversion transactions.

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-11-11 14:57:34 CET

On Mon, Nov 10, 2003 at 08:57:55PM -0600, C. Michael Pilato wrote:
>
> The new svn_fs_cleanup_txn() would always resume cleanup from wherever
> it left off, and always leave enough pointers around so that if
> something goes wrong, the cleaup attempt can be re-tried/continued
> later. In other words, it leaves no dangling nodes, doesn't lose
> references to copies before the copies themselves are gone, etc.

This may be even harder than it sounds, if you want to have fixed
upper bounds on your txn size (which is the whole point of the change).

>
> But then again, this could all just be overkill. Maybe it's enough to make
> svn_fs_abort_txn() just delete the transaction first, and then go
> about cleaning up the other stuff. If that fails, we get back an
> error and there is just unreachable cruft in the filesystem that sits
> around until the next dump/load cycle.
>

Or perhaps is optionally harvested as part of an "svntunefs" run.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 11 14:57:47 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.