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/

Reply via email to