[PATCH] ctdb-recoverd: Avoid duplicate recoverd event in parallel recovery
amitay at gmail.com
Wed Jun 8 04:46:56 UTC 2016
In do_recovery, after the recovery and takeover is complete, recoverd
event is triggered. When the parallel database recovery was separated,
ctdb_recovery_helper implemented sending END_RECOVERY control which
causes recoverd event to be triggered. So when there is parallel database
recovery, recoverd event is triggered twice.
Instead move the call to run_recovered_eventscript() explicitly in
the serial recovery code path. This avoids the duplication trigger of
Please review and push.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2397 bytes
Desc: not available
More information about the samba-technical