[PATCH] Avoid CTDB daemon deadlock while reading db sequence number (bug 13021)
amitay at gmail.com
Mon Sep 11 03:59:02 UTC 2017
Once the recovery starts and databases are frozen, then all the record
access is postponed till the recovery is complete except reading the
database sequence number. Database access for reading sequence number
is done via a control which does not check if the databases are frozen
If the database is frozen and if the freeze transaction is not started
(this can happen when a node is inactive, or during recovery when the
database is frozen but the transaction has not yet started), then trying
to read sequence number will cause ctdb daemon to deadlock.
Before reading the sequence number, check if the database access is
Please review and push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3222 bytes
Desc: not available
More information about the samba-technical