client-c
client-c copied to clipboard
Add `tryGetBypassLock` and refine `resolveLocks`
- add
tryGetBypassLockwhich check the txn status, and return the txn that can be bypassed for the caller - refine
resolveLocksto not clearpushedeven if error happens because each txn is independent with each other, if a txn ispushed, its status will not be affected by other txn error - add a background thread to resolve locks check by
tryGetBypassLockasynchronously.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign zyguan for approval. For more information see the Code Review Process. Please ensure that each of them provides their approval before proceeding.
The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment