ctdb:vacuum: adapt debug message for repacking.
authorMichael Adam <obnox@samba.org>
Sat, 19 Apr 2014 00:51:39 +0000 (02:51 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 17 Jun 2014 07:33:10 +0000 (09:33 +0200)
Now we usually have records to delete == 0 after the preceding
vacuum run. Anyways, deletion is not a major aspect any more
of the repack run and will vanish soon.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_vacuum.c

index 574ad87b126b242013675c4cba991c15f66aaa86..fdca2a3f71774175de25d3dfeffe50514a350478 100644 (file)
@@ -1480,8 +1480,8 @@ static int ctdb_vacuum_and_repack_db(struct ctdb_db_context *ctdb_db,
                return 0;
        }
 
-       DEBUG(DEBUG_INFO,("Repacking %s with %u freelist entries and %u records to delete\n", 
-                       name, freelist_size, vdata->count.delete_list.left));
+       DEBUG(DEBUG_INFO, ("Repacking %s with %u freelist entries\n",
+                          name, freelist_size));
 
        /*
         * repack and implicitely get rid of the records we can delete