Merge pull request #7277 from apple/fix-mako-onerror-wait

Correctly wait on onError() future
This commit is contained in:
Junhyun Shim 2022-05-28 09:11:55 +02:00 committed by GitHub
commit 46af909411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ force_inline FutureRC waitAndHandleError(fdb::Transaction& tx, FutureType& f, st
}
// implicit backoff
auto follow_up = tx.onError(err);
return waitAndHandleForOnError(tx, f, step);
return waitAndHandleForOnError(tx, follow_up, step);
}
} // namespace mako