diff options
Diffstat (limited to 'ctdb/tools/ctdb.c')
-rw-r--r-- | ctdb/tools/ctdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index a1ce35aace..6255d7bf64 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -1025,7 +1025,6 @@ static int control_dumpmemory(struct ctdb_context *ctdb, int argc, const char ** CTDB_CTRL_FLAG_NOREPLY, tdb_null, NULL, NULL, NULL, NULL, NULL); } - static const struct { const char *name; int (*fn)(struct ctdb_context *, int, const char **); @@ -1068,6 +1067,8 @@ static const struct { { "unregsrvid", unregsrvid, false, "unregister a server id", "<pnn> <type> <id>" }, { "chksrvid", chksrvid, false, "check if a server id exists", "<pnn> <type> <id>" }, { "getsrvids", getsrvids, false, "get a list of all server ids"}, + { "vacuum", ctdb_vacuum, false, "vacuum the databases of empty records", "[max_records]"}, + { "repack", ctdb_repack, false, "repack all databases", "[max_freelist]"}, }; /* |