ctdb-client: Keep trying to migrate till record lock is obtained
authorAmitay Isaacs <amitay@gmail.com>
Fri, 20 Nov 2015 05:22:41 +0000 (16:22 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 24 Feb 2016 07:44:38 +0000 (08:44 +0100)
commit64447653ed793f9935b7495a7d0e594983288bdd
tree85d6257c5e5f82dc1f26b93e720d395bb9e3bf2a
parentfbd3fd343bd0d1c6c03f8ae82ae79ad5580af421
ctdb-client: Keep trying to migrate till record lock is obtained

If a record is not on a local node, then it is migrated from remote node.
However, before the client can get a lock on the record, it's possible
for the record to get migrated away.  In that case, repeat migration.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_db.c