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

Re: Inexcusable BDB upgrade triple blunder

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-02-28 18:26:44 CET

On 2/28/06, Branko Èibej <brane@xbc.nu> wrote:
>
> Which reminds me that I forgot to mention a tiny detail: the relation
> between svn_fs_t's and cached environments is many-to-one. IOW, I'd have
> to put a dictionary of open handles into the descriptor. I'd also have
> to add a validity check on the svn_fs_t's environment usage in _every_
> BDB-related operation in the back-end. That's doable, but it's a mess,
> and error-prone.

Why wouldn't a simple refcount work? (incremented when passed out,
decremented on cleanup)

I'm not seeing why you'd need a dictionary of open handles... -- justin
Received on Tue Feb 28 19:22:55 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.