1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb
Amitay Isaacs ecb74721e7 ctdb-recoverd: Avoid duplicate recoverd event in parallel recovery
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11956

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
recoverd event.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2016-06-08 10:33:19 +02:00
..
client ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
common ctdb-system: Remove duplicate functions 2016-06-08 10:33:19 +02:00
config ctdb-scripts: Add eventscript 06.nfs 2016-06-08 10:33:19 +02:00
doc ctdb-scripts: Add eventscript 06.nfs 2016-06-08 10:33:19 +02:00
ib ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
include ctdb-recoverd: Recovery lock handle should be in recovery deamon context 2016-06-08 00:51:29 +02:00
packaging ctdb-scripts: Add eventscript 06.nfs 2016-06-08 10:33:19 +02:00
protocol ctdb-protocol: CTDB_CONTROL_SET_RECLOCK_FILE is obsolete 2016-06-08 00:51:28 +02:00
server ctdb-recoverd: Avoid duplicate recoverd event in parallel recovery 2016-06-08 10:33:19 +02:00
tcp ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
tests ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
tools ctdb-tool: Drop support for "ctdb setreclock" command 2016-06-08 00:51:28 +02:00
utils ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
web docs: Fix an outdated remark, tdbsam is default 2016-05-03 08:08:31 +02:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +11:00
configure ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
configure.rpm ctdb-packaging: Package private libraries 2015-07-01 07:19:43 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-tests: Re-use set_blocking instead of re-definition 2016-06-08 10:33:19 +02:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.