[PATCH] Fix ldb lockout after DRS failures

Andrew Bartlett abartlet at samba.org
Fri Jan 25 17:44:31 MST 2013


This patch, required for my server_id patches (apparently) just passed
an autoubuild.  It is designed to address this message Matthieu got when
trying to autobuild my second server_id patch.

In short, as we fix the issues that were really breaking DRS, we are
finding issues with running DRS.  It is a can of worms, but we are
making progress, and if we can get these into 4.0.2, then we really will
have a much more reliable replication system.

The issue was that if a single DRS replication failed at the pre-commit
stage, that we would get into a limbo-land were one half of ldb thought
there was still an active transaction, while another half thought there
wasn't.  That ldb handle then became read-only until closed. 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ldb-Ensure-to-decrement-the-transaction_active-whene.patch
Type: text/x-patch
Size: 22850 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130126/5619529e/attachment.bin>


More information about the samba-technical mailing list