[PATCH] Have ldbmodify and ldbadd operate in a single transaction
Stefan (metze) Metzmacher
metze at samba.org
Wed Apr 4 04:21:59 MDT 2012
Am 04.04.2012 11:13, schrieb Andrew Bartlett:
> The attached patches make ldbmodify and ldbadd operate in a single
> transaction, and abort that transaction on failure.
> Matthieu, this also reverts your previous attempt at doing this. It
> should help your schema work, as each transaction causes a schema
> reload, which can be a problem for mutually dependent schema items.
> It also fixes up our tests to both pass and cause failures on failure,
> by wrapping it in the right subunit.
> I've also put them in my git tree:
Can we add an option to control the behavior?
For things like the ldap backend we don't have transactions anyway,
we might want to return an error there if the caller asks for a single
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the samba-technical