ctdb-daemon: Do not thaw databases if recovery is active
authorAmitay Isaacs <amitay@gmail.com>
Tue, 6 May 2014 04:20:44 +0000 (14:20 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 7 Jul 2014 11:29:50 +0000 (13:29 +0200)
commit2855173dac5386bff655d1bb94c1848591b963e1
treecf8c176d181bd46424ef0fafd5e20c089b11a528
parent28a1b75886fb4aea65e23bfd00b9f4c98780fdfd
ctdb-daemon: Do not thaw databases if recovery is active

This prevents ctdb tool from thawing databases prematurely in
thaw/wipedb/restoredb commands if recovery is active.

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