ctdb-daemon: Mark tunable VerifyRecoveryLock as obsolete
commitd110fe231849d76ecb83378c934627dc64b74c72
authorMartin Schwenke <martin@meltin.net>
Tue, 9 Dec 2014 02:47:42 +0000 (9 13:47 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 13 Feb 2015 06:19:07 +0000 (13 07:19 +0100)
tree80f375abddf3d5506436e20046662078aba12ab0
parenta01744c08ff5b8aca4af99842acfc78a87af9297
ctdb-daemon: Mark tunable VerifyRecoveryLock as obsolete

It is pointless having a recovery lock but not sanity checking that it
is working.  Also, the logic that uses this tunable is confusing.  In
some places the recovery lock is released unnecessarily because the
tunable isn't set.

Simplify the logic by assuming that if a recovery lock is specified
then it should be verified.

Update documentation that references this tunable.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/ctdb-tunables.7.xml
ctdb/doc/ctdb.1.xml
ctdb/server/ctdb_recover.c
ctdb/server/ctdb_recoverd.c
ctdb/server/ctdb_server.c
ctdb/server/ctdb_tunables.c