[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: Branko Čibej <brane_at_xbc.nu>
Date: 2006-02-28 19:10:23 CET

Justin Erenkrantz wrote:
> On 2/28/06, *Branko Čibej* <brane@xbc.nu <mailto: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
I _have_ a simple refcount. I can't invalidate the handles on cache
cleanup if I don't have a reference to them, yes?

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 28 19:42:18 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.