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

Re: Subversion's use of Berkeley DB [#11511]

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-12-09 22:58:26 CET

Justin Erenkrantz wrote:

> --On Wednesday, December 8, 2004 3:10 PM -0500 Keith Bostic
> <bostic@abyssinian.sleepycat.com> wrote:
>
>> I didn't realize that was possible -- my understanding was there
>> was no way to get Apache to tell a module that it was being called
>> for the first time. Is that not true?
>
>
> Correct, that's not true. For 2.x (and the same trick works in 1.3
> with some variation in technique), a module can know whether it's
> being initialized the first (or second or whatever) time by leaving a
> 'note' in the process pool. So, you can have a post_config hook that
> checks the apr_pool_userdata on the process pool and then either runs
> or doesn't run. (The process pool of the parent always always stays
> the same.)

This is all irrelevant because we can't rely on Apache here. It's quite
reasonable to use all three RA methods to access the same repository, so
any such serialisation mechanism must go into libsvn_fs_base.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 10 04:02:09 2004

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.