Stefan Fuhrmann wrote on Thu, Nov 28, 2013 at 08:02:49 +0100:
> On Wed, Nov 27, 2013 at 11:34 PM, Philip Martin
> <[email protected]>wrote:
> 
> I'm a bit relucant to use them because I'm not altogether happy with the
> > way they are removed from the transaction before we know whether the
> > commit will succeed.
> >
> 
> Just an idea: Why not keep the ephemeral props
> until the commit almost completed:

How about just doing it *after* the commit completed?  That is, inside
commit_body() after 'current' has been incremented?

There's a very small window where clients will see them, but all they'll
see is an unrecognized property in the svn:* namespace, so they're
supposed to ignore it.  The overall effect won't be much different from
that stray "is-fresh-txn-root: y" on committed noderevs.

(I'm not sure it's a good idea, but it definitely is robust against
power-downs, so I'm putting it on the table anyway.)

Reply via email to