1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Martin Schwenke 4656b0816a ctdb-daemon: Don't explicitly disable monitoring around recovery
Monitoring can fail during recovery due to databases (e.g. registry)
being unavailable.  This has been avoided by explicitly disabling
monitoring around recovery via the START_RECOVERY and END_RECOVERY
controls.  With this approach only there is still a window between
enabling recovery mode and START_RECOVERY when monitoring could be
attempted.  However, explicitly disabling monitoring is unnecessary
because monitoring is not done when a node is in recovery.

So remove the explicit disable/enable of monitoring and rely on
monitoring being skipped when recovery mode is active.

The only possible change of behaviour with this change is that there
is now a window between setting recovery mode to normal and the
END_RECOVERY control where monitoring is enabled.  However, at this
point databases would be available and the "recovered" event will
cancel any in-progress monitoring.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2017-09-14 14:49:15 +02:00
..
client ctdb-client: Initialize ctdb_ltdb_header completely for empty record 2017-09-14 14:49:15 +02:00
common ctdb-common: Add sock_client abstraction 2017-09-01 08:52:07 +02:00
config ctdb-scripts: Switch ctdb_check_unix_socket() to use ss 2017-09-12 12:23:19 +02:00
doc ctdb-tools: Drop check_srvids command from ctdb tool 2017-08-14 09:01:21 +02:00
ib ctdb-ib: Fix DEBUG log messages 2016-08-10 08:18:16 +02:00
include ctdb-daemon: Add a function to check if db access is allowed 2017-09-12 12:23:18 +02:00
packaging/RPM ctdb-packaging: Remove mkversion.sh script 2017-05-24 17:03:28 +02:00
protocol ctdb-protocol: Fix CID 1417428 2017-09-05 15:16:06 +02:00
server ctdb-daemon: Don't explicitly disable monitoring around recovery 2017-09-14 14:49:15 +02:00
tcp ctdb-tcp: Fix CID 1362724 Unchecked return value from library 2016-08-17 23:00:25 +02:00
tests ctdb-tests: Drop unused monitoring status support 2017-09-14 14:49:15 +02:00
tools ctdb-tools: Fix CID 1414746 2017-09-09 10:53:10 +02:00
utils ctdb-client: Move sync API to a separate header 2017-06-07 16:05:27 +02:00
.bzrignore
.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: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-tests: Add a dummy ctdb client for testing 2017-09-09 10:53:10 +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.