ctdb-client: Only get capabilities from active nodes
authorMartin Schwenke <martin@meltin.net>
Mon, 7 Dec 2015 04:50:23 +0000 (15:50 +1100)
committerMartin Schwenke <martins@samba.org>
Sun, 13 Dec 2015 02:17:10 +0000 (03:17 +0100)
commit7fb3d286d2c586d7779a18d5ee5bd825274ec7d6
tree72dc168c869583f64170fd621817d7e2d3b569bd
parent36813a42036af906e2a02a90e42fd10aebf3d6a3
ctdb-client: Only get capabilities from active nodes

This is used by the recovery daemon to validate the current recovery
master.  Don't risk being unable to elect a new master if the current
master is inactive but unresponsive.

Note that this client call is currently not used by any other callers.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sun Dec 13 03:17:10 CET 2015 on sn-devel-104
ctdb/client/ctdb_client.c