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

Re: Specifying commit timestamps over RA

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Nov 2013 13:43:04 +0200

Stefan Fuhrmann wrote on Thu, Nov 28, 2013 at 08:02:49 +0100:
> On Wed, Nov 27, 2013 at 11:34 PM, Philip Martin
> <philip.martin_at_wandisco.com>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.)
Received on 2013-11-28 12:44:03 CET

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.