summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2019-10-01 15:05:10 +1000
committerKarolin Seeger <kseeger@samba.org>2020-03-30 10:08:24 +0000
commitbfdd98317b40391d1733bcca39b66bf40c66814d (patch)
tree1763917a6999263fe2ab44cd3e6765f9ff8399bb /ctdb
parent30d8a00c8e8a1536b043ddecb0cdd46cbc523bbe (diff)
downloadsamba-bfdd98317b40391d1733bcca39b66bf40c66814d.tar.gz
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 <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit d0cc9edc05b6218a8e20a0a8009cbb9918ff4d02)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_vacuum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c
index ddaef863045..79dced38bf5 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;
}