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

Re: [RFC/PATCH] Modifying internal FS transaction properties

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 3 Mar 2015 12:14:26 +0000

Philip Martin wrote:

> [...]  Both BDB and FSFS set the date on the txn when the txn is
> created.  This was introduced so that admins could look at the date and
> get the txn creation date which is useful when deciding whether or not
> to delete old txns.  The BDB bug is that this setting should not be
> classed as an explicit setting by the client.
>
> [...]
>
> Using svn:date to store txn creation date doesnt't work so well now that
> we allow clients to set svn:date.  It might have been better if the txn
> creation date was stored in a separate txn property that was deleted on
> commit.  If we were to do that then we would need to expose the internal
> txn value, which would mean svn_fs_txn_prop/proplist could not hide all
> internal txn props.

Or svn_fs_txn_prop/proplist *could* hide all internal txn props, and we could add another API for svnadmin to view the txn-creation date.

- Julian
Received on 2015-03-03 13:15:22 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.