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>
ret = ctdb_fetch_lock_check(req);
if (ret != 0) {
- tevent_req_error(req, ret);
+ if (ret != EAGAIN) {
+ tevent_req_error(req, ret);
+ }
return;
}