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

Re: The use of trails in svn_fs_base__commit_txn()

From: <kfogel_at_collab.net>
Date: 2006-01-10 20:13:19 CET

Ben Collins-Sussman <sussman@red-bean.com> writes:
> My feeling is: let's just augment svn_fs_commit_txn()'s docstring to
> say something like, "if an error is returned, the transaction is in an
> indeterminate state, consider it useless." Our callers are already
> aborting the txn anyway, but it would be nice to make this policy
> 'official'.

+1.

If we want to change this in the future, we can, since it would be
backwards-compatible to do so. We might consistify the code between
fsfs and bdb, and then have all txns in some well-defined state
depending on the error returned. We can update the documentation
if/when we make that change.

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 10 21:47:52 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.