From ec2f1abe486c77f8a27ebc731917337efc9cd04f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 19 Apr 2014 02:47:21 +0200 Subject: ctdb:vacuum: remove a comment in ctdb_vacuum_and_repack_db() The repack operation now mainly defragments the freelist and does not usually delete any records any more. Signed-off-by: Michael Adam Reviewed-by: Amitay Isaacs --- ctdb/server/ctdb_vacuum.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index fdca2a3f717..18ea53d88ff 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -1483,9 +1483,6 @@ static int ctdb_vacuum_and_repack_db(struct ctdb_db_context *ctdb_db, DEBUG(DEBUG_INFO, ("Repacking %s with %u freelist entries\n", name, freelist_size)); - /* - * repack and implicitely get rid of the records we can delete - */ if (ctdb_repack_tdb(ctdb_db->ltdb->tdb, mem_ctx, vdata) != 0) { DEBUG(DEBUG_ERR,(__location__ " Failed to repack '%s'\n", name)); talloc_free(vdata); -- cgit