summaryrefslogtreecommitdiffstats
path: root/ctdb/tools
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-08-23 16:57:40 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-10-04 15:15:27 +1000
commitd3783ae140339dc762105f7377c68e935f32cf35 (patch)
treeb29ec0a0c88bf0950af1c505c5b4f097b636141c /ctdb/tools
parente4ed152d5917073b23d9bad8320f150becc24233 (diff)
downloadsamba-d3783ae140339dc762105f7377c68e935f32cf35.tar.gz
samba-d3783ae140339dc762105f7377c68e935f32cf35.tar.xz
samba-d3783ae140339dc762105f7377c68e935f32cf35.zip
tools/ctdb: Remove un-implemented ctdb vacuum command
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 8b238852884004a56f76a1762199c338864d1249)
Diffstat (limited to 'ctdb/tools')
-rw-r--r--ctdb/tools/ctdb.c1
-rw-r--r--ctdb/tools/ctdb_vacuum.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index cb97ef9775f..8a4865ffb80 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -6031,7 +6031,6 @@ static const struct {
{ "chksrvid", chksrvid, false, false, "check if a server id exists", "<pnn> <type> <id>" },
{ "getsrvids", getsrvids, false, false, "get a list of all server ids"},
{ "check_srvids", check_srvids, false, false, "check if a srvid exists", "<id>+" },
- { "vacuum", ctdb_vacuum, false, true, "vacuum the databases of empty records", "[max_records]"},
{ "repack", ctdb_repack, false, false, "repack all databases", "[max_freelist]"},
{ "listnodes", control_listnodes, false, true, "list all nodes in the cluster"},
{ "reloadnodes", control_reload_nodes_file, false, false, "reload the nodes file and restart the transport on all nodes"},
diff --git a/ctdb/tools/ctdb_vacuum.c b/ctdb/tools/ctdb_vacuum.c
index a05cdadfc18..808b15ca4bf 100644
--- a/ctdb/tools/ctdb_vacuum.c
+++ b/ctdb/tools/ctdb_vacuum.c
@@ -29,15 +29,6 @@
#define TIMELIMIT() timeval_current_ofs(10, 0)
-/*
- vacuum all our databases
- */
-int ctdb_vacuum(struct ctdb_context *ctdb, int argc, const char **argv)
-{
- printf("\"ctdb vacuum\" is not implemented any more.\n");
- return 0;
-}
-
struct vacuum_traverse_state {
bool error;
struct tdb_context *dest_db;