From d0b7b3882511769b1bfc1d0d4fdc0dba288e6ccd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 14 Feb 2014 18:27:14 +0100 Subject: [PATCH] ctdb-vacuum: run the fast vacuum after the db traverse This in preparation of modifying the db traverse to fill the delete_queue that is processed by the fast vacuum run, instead of filling the same lists as the fast vacuum run for further processing. Signed-off-by: Michael Adam Reviewed-by: Amitay Isaacs --- ctdb/server/ctdb_vacuum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index 889b5b4b39b..ff607f30e67 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -1273,8 +1273,6 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db, return ret; } - ctdb_vacuum_db_fast(ctdb_db, vdata); - if (full_vacuum_run) { ret = ctdb_vacuum_db_full(ctdb_db, vdata); if (ret != 0) { @@ -1282,6 +1280,8 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db, } } + ctdb_vacuum_db_fast(ctdb_db, vdata); + ret = ctdb_process_vacuum_fetch_lists(ctdb_db, vdata); if (ret != 0) { return ret; -- 2.11.4.GIT