diff options
author | Amitay Isaacs <amitay@gmail.com> | 2019-10-01 15:05:10 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-10-24 04:06:43 +0000 |
commit | d0cc9edc05b6218a8e20a0a8009cbb9918ff4d02 (patch) | |
tree | 6292d79719f83e4ae58e3d2f154c768baa10baf2 /ctdb | |
parent | 680df07630a94b3e76edefe98ee0986e7e5e1f12 (diff) | |
download | samba-d0cc9edc05b6218a8e20a0a8009cbb9918ff4d02.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>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_vacuum.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |