ctdb-recovery: Setting up of recmode should be idempotent
commit89ee737cd41d49855f881d519f6736cfeaba9178
authorAmitay Isaacs <amitay@gmail.com>
Thu, 22 Jun 2017 04:49:02 +0000 (22 14:49 +1000)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Jun 2017 10:34:16 +0000 (26 12:34 +0200)
tree2930dabe308fed1d0e9eccd1c2bb29c144a89d09
parenta227893188bbf5c68dcf923d42ccd20ae366009a
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>
(cherry picked from commit f2771fcbf438e8b06321752c7203f01bbe33b573)
ctdb/server/ctdb_recover.c