mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
The recovery lock can not be reliably updated at run-time. If it fails to update on some nodes then split-brain protection is gone and there is no reasonable way to repair the situation. CTDB will have to be restarted on all nodes. So, if this feature is being used to avoid scheduling an outage then an outage will have to be scheduled just in case! To update the recovery lock, shut down CTDB on all nodes, reconfigure the recovery lock and start CTDB again. Those that *really* want to be able to change the recovery lock at run-time can still do so. Set CTDB_RECOVERY_LOCK to point to a script and this script can then be modified at run-time. However, please don't report bugs if bad things happen... Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>