client-c icon indicating copy to clipboard operation
client-c copied to clipboard

Add `tryGetBypassLock` and refine `resolveLocks`

Open windtalker opened this issue 2 months ago • 1 comments

  1. add tryGetBypassLock which check the txn status, and return the txn that can be bypassed for the caller
  2. refine resolveLocks to not clear pushed even if error happens because each txn is independent with each other, if a txn is pushed, its status will not be affected by other txn error
  3. add a background thread to resolve locks check by tryGetBypassLock asynchronously.

windtalker avatar Oct 14 '25 06:10 windtalker

[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

ti-chi-bot[bot] avatar Oct 14 '25 06:10 ti-chi-bot[bot]