summaryrefslogtreecommitdiffstats
path: root/ctdb/tools
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-12-13 17:43:58 +0100
committerMichael Adam <obnox@samba.org>2011-12-23 17:39:05 +0100
commit491c63c2a833e795c77d233ebdf3b348697e2bfc (patch)
treebddf4562b746376f3cf9a1e41dd2c0c599c10bbe /ctdb/tools
parentd7611212c39cbdac9ac1f1caf65751f1c6282ec7 (diff)
tools/ctdb: allow the "ctdb vacuum" stub to be run without the daemon running.
(This used to be ctdb commit e71afbf731f06a3b89b64220c7fd1b1ea5492d4a)
Diffstat (limited to 'ctdb/tools')
-rw-r--r--ctdb/tools/ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index 793e98f132..717f74c339 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -5168,7 +5168,7 @@ 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, false, "vacuum the databases of empty records", "[max_records]"},
+ { "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"},