]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tool: Drop support for "ctdb setreclock" command
authorMartin Schwenke <martin@meltin.net>
Tue, 1 Mar 2016 01:32:48 +0000 (12:32 +1100)
committerMartin Schwenke <martins@samba.org>
Tue, 7 Jun 2016 22:51:28 +0000 (00:51 +0200)
commitd3da6f0eb91bb38fce4fba9151de93aefda2f32c
tree9e33f7d122ad3e6dbfc85f2a38f6fddbcebc58a4
parenta3c2a39ea2fb6aed3791e36efe0c0998d7ea83af
ctdb-tool: Drop support for "ctdb setreclock" command

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>
ctdb/doc/ctdb.1.xml
ctdb/tools/ctdb.c