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

Re: Berkeley DB help needed [was Re: [PATCH] BDB error_info threading issue causing core dumps]

From: Branko Cibej <brane_at_xbc.nu>
Date: Fri, 05 Dec 2008 18:34:57 +0100

Blair Zajac wrote:
> Branko Cibej wrote:
>> Blair Zajac wrote:
>>> Are any of our BDB experts available to look at this issue and
>>> patch? Brane, cmpilato :) It would be greatly appreciated.
>>>
>>
>> I'm looking, I'm looking! I've managed to bump my review rate to two
>> lines per day, heh.
>> Sorry it's taking so long.
>
> Thanks! We're working on a small test case that should demonstrate
> this bug. Hopefully today we'll have it.

So the first thing I managed to remember from way back when is that the
answer to the question, "can I use the same svn_fs_t in different
threads?" was assumed to be "no!" when I was initially coding up the
DB_REGISTER support.

Apparently either that assumption was naive, or you didn't read the
non-existent docs when you wrote your server. :)

There's no reason not to remove that restriction, but I recall some very
nasty interactions between threads and pool lifetimes and the
db_register cache lifetime. I'll concentrate on trying to understand
those interactions again and take a fresh look at them in the context of
your patch.

-- Brane

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=980213
Received on 2008-12-08 09:09:16 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.