ctdb-recovery: Setting up of recmode should be idempotent
authorAmitay Isaacs <amitay@gmail.com>
Thu, 22 Jun 2017 04:49:02 +0000 (14:49 +1000)
committerMartin Schwenke <martins@samba.org>
Sat, 24 Jun 2017 08:28:21 +0000 (10:28 +0200)
commitf2771fcbf438e8b06321752c7203f01bbe33b573
treebd8859ba176e30cf5257223f376fcbdf6d91c757
parentc9d9f56bffe1e19665dba8e0cf899399d3d9fb72
ctdb-recovery: Setting up of recmode should be idempotent

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857

If the recovery mode is already set to the expected value, there is
nothing to do.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_recover.c