summaryrefslogtreecommitdiff
path: root/ctdb/server/ctdb_control.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-07-21 14:17:02 +1000
committerStefan Metzmacher <metze@samba.org>2016-07-28 05:00:17 +0200
commit28b2a6391b3adecd7a8fd47662e7ea6000df306f (patch)
tree8c3176cfc283d5f84f8cf6c67491b5ff6579ae52 /ctdb/server/ctdb_control.c
parent29b7825dcf82f5f7967bf92f35407186627165c1 (diff)
downloadsamba-28b2a6391b3adecd7a8fd47662e7ea6000df306f.tar.gz
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 <amitay@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/server/ctdb_control.c')
-rw-r--r--ctdb/server/ctdb_control.c3
1 files changed, 1 insertions, 2 deletions
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));