From 28b2a6391b3adecd7a8fd47662e7ea6000df306f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 21 Jul 2016 14:17:02 +1000 Subject: ctdb-daemon: Drop the implementation of THAW control This control was used by the older implementation of tool to restore a database from backup. In the new implemenation of tool, it freezes and thaws only the database being restored. Signed-off-by: Amitay Isaacs Reviewed-by: Andrew Bartlett Reviewed-by: Martin Schwenke --- ctdb/server/ctdb_control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ctdb/server/ctdb_control.c') diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index 92022cabfc9..ea68bbfade4 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -318,8 +318,7 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, return ctdb_control_freeze(ctdb, c, async_reply); case CTDB_CONTROL_THAW: - CHECK_CONTROL_DATA_SIZE(0); - return ctdb_control_thaw(ctdb, true); + return control_not_implemented("THAW", NULL); case CTDB_CONTROL_SET_RECMODE: CHECK_CONTROL_DATA_SIZE(sizeof(uint32_t)); -- cgit v1.2.1