directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Chu <...@symas.com>
Subject Re: [Mavibot] Atmic operation cross BTrees
Date Fri, 20 Dec 2013 22:09:38 GMT
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.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Mime
View raw message