From: Amitay Isaacs Date: Tue, 1 Oct 2019 05:05:10 +0000 (+1000) Subject: ctdb-vacuum: Avoid processing any more packets X-Git-Tag: talloc-2.3.1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0cc9edc05b6218a8e20a0a8009cbb9918ff4d02;p=thirdparty%2Fsamba.git ctdb-vacuum: Avoid processing any more packets All the vacuum operations if required have an event loop to ensure completion of pending operations. Once all the steps are complete, there is no reason to process any more packets. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index 59fd1a54747..2512811b179 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -1257,9 +1257,6 @@ static int ctdb_vacuum_db(struct ctdb_db_context *ctdb_db, talloc_free(tmp_ctx); - /* this ensures we run our event queue */ - ctdb_ctrl_getpnn(ctdb, TIMELIMIT(), CTDB_CURRENT_NODE); - return 0; }