directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: [Mavibot] Atmic operation cross BTrees
Date Sat, 21 Dec 2013 06:08:42 GMT
Le 12/20/13 11:09 PM, Howard Chu a écrit :
> Emmanuel Lécharny wrote:
>> Hi guys,
>> transaction support is not easy, and while working on it, I realized
>> that the most critical part of it is the global update of the btrees
>> headers. This is a mandatory part of the transaction process, but it's
>> also a mandatory part of the atomocity of operations across BTrees.
>> Although we don't need to support in-memory operations on pages to get
>> Mavibot guarantiing atomocity across btrees. We just need to exhibit the
>> update btrees when we are done with the operation.
>> I will start implementing this feature first, as its critical for
>> ApacheDS (in fact, we need it, all the transaction feature is less
>> critical, even if it's good to have in the near future), and I *think*
>> we will be able to release ApacheDS with this backand as the main
>> backend...
>> thoughts ?
> Not sure why this is a big deal. E.g., in LMDB, you have a tree of
> trees. So updates to just a single tree or updates to many trees are
> all naturally a single atomic transaction.
We don't have a tree of trees atm. This is why it's a big deal ;-)

Emmanuel Lécharny 

View raw message