>> Transaction has to be started explicitely from the LDAP layer...
Yeah, I agree. But that doesn't mean the LDAP layer has to implement the 
transaction support itself. It just needs to aware, start and end the 
transaction when performing add/delete/update operations.

-----Original Message-----
From: Emmanuel Lécharny [mailto:[email protected]] 
Sent: Monday, June 27, 2016 6:52 PM
To: Apache Directory Developers List <[email protected]>
Subject: Re: Rethinking Mavibot...

Le 27/06/16 à 12:33, Zheng, Kai a écrit :
> Yes, I agree. Is it possible to be a lightweight wrapper on top of the 
> plugined DB enginene, for example, we wouldn't need to support the 
> transaction stuffs by ourselves? 

No. Transaction has to be started explicitely from the LDAP layer, which means 
either youhave to use a DB backend that support cross-B-trees transactions or 
you have to implement it above the DB backend, which is clearly not simple, and 
will not be simple.

> Is there any LDAP-centric engine already

There is no such thing.

> or allowing to do the mapping very directly?
The mapping is simple (kind of), as soon as you know how to use a key-value 
store.


There is no magic involved.

Reply via email to