ctdb-recoverd: Process all the records for vacuum fetch in a loop
authorAmitay Isaacs <amitay@gmail.com>
Wed, 23 Apr 2014 08:02:39 +0000 (18:02 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Dec 2014 16:06:58 +0000 (17:06 +0100)
commit959b9ea0ef85c57ffc84d66a6e5e855868943391
tree1e6d44bf69d3198917c9769b958a127f4d5e09f3
parent257311e337065f089df688cbf261d2577949203d
ctdb-recoverd: Process all the records for vacuum fetch in a loop

Processing one migration request at a time is very slow and processing
a batch of records can take longer than VacuumInterval.  This causes
subsequent vacuum fetch requests to be dropped.  The dropped records
can accumulate quickly and will cause the vacuum database traverse to
be quite expensive.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Dec  5 17:06:58 CET 2014 on sn-devel-104
ctdb/server/ctdb_recoverd.c