]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-daemon: Drop the implementation of THAW control
authorAmitay Isaacs <amitay@gmail.com>
Thu, 21 Jul 2016 04:17:02 +0000 (14:17 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 03:00:17 +0000 (05:00 +0200)
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>
ctdb/server/ctdb_control.c

index 92022cabfc97784f0c0569415d21958a98aa2f13..ea68bbfade41daeb2cd512c796dafbdd2ebcf423 100644 (file)
@@ -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));