ctdb-readonly: Avoid a tight loop waiting for revoke to complete
authorAmitay Isaacs <amitay@gmail.com>
Tue, 14 Mar 2017 05:12:55 +0000 (16:12 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 17 Mar 2017 13:05:57 +0000 (14:05 +0100)
commitad758cb869ac83534993caa212abc9fe9905ec68
treea278fa58635e9c500dff0fd368a59a98927e3259
parentda5e256b9b209bde23f5025233c43f7022907f73
ctdb-readonly: Avoid a tight loop waiting for revoke to complete

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12697

During revoking readonly delegations, if one of the nodes disappears, then
there is no point re-trying revoking readonly delegation.  The database
needs to be recovered before the revoke operation can succeed.  So retry
only after a grace period.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar 17 14:05:57 CET 2017 on sn-devel-144
ctdb/server/ctdb_call.c