ctdb-recoverd: Only respond to currently queued ipreallocated requests
authorMartin Schwenke <martin@meltin.net>
Fri, 22 Nov 2013 02:57:03 +0000 (13:57 +1100)
committerMichael Adam <obnox@samba.org>
Wed, 27 Nov 2013 17:46:16 +0000 (18:46 +0100)
commit44a0466ac1c69fe9f0734a6225c1a1a38e48299a
tree2b7468e14f091690b378af4bf5771b7442898b60
parenta6dbe126f5adb9368143da731a623ce4c61c0203
ctdb-recoverd: Only respond to currently queued ipreallocated requests

Otherwise new requests can come in during the latter parts of the
takeover run when the IP allocation algorithm has already run, and the
new requests will be dequeued even though they haven't really be
processed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
ctdb/server/ctdb_recoverd.c