mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
4656b0816a
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> |
||
---|---|---|
.. | ||
client | ||
common | ||
config | ||
doc | ||
ib | ||
include | ||
packaging/RPM | ||
protocol | ||
server | ||
tcp | ||
tests | ||
tools | ||
utils | ||
.bzrignore | ||
.gitignore | ||
configure | ||
configure.rpm | ||
COPYING | ||
Makefile | ||
README | ||
wscript |
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.