diff options
-rw-r--r-- | ctdb/server/ctdb_vacuum.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index 3639547738..cbc2acbd04 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -644,7 +644,8 @@ static int update_tuning_db(struct ctdb_db_context *ctdb_db, struct vacuum_data * repack and vaccum a db * called from the child context */ -static int ctdb_repack_db(struct ctdb_db_context *ctdb_db, TALLOC_CTX *mem_ctx) +static int ctdb_vacuum_and_repack_db(struct ctdb_db_context *ctdb_db, + TALLOC_CTX *mem_ctx) { uint32_t repack_limit = ctdb_db->ctdb->tunable.repack_limit; uint32_t vacuum_limit = ctdb_db->ctdb->tunable.vacuum_limit; @@ -893,7 +894,7 @@ ctdb_vacuum_event(struct event_context *ev, struct timed_event *te, /* * repack the db */ - cc = ctdb_repack_db(ctdb_db, child_ctx); + cc = ctdb_vacuum_and_repack_db(ctdb_db, child_ctx); write(child_ctx->fd[1], &cc, 1); _exit(0); |