txn: support shared lock (#1833)#1897
Conversation
ref tikv/tikv#19087 Signed-off-by: you06 <you1474600@gmail.com>
- Update kvproto to 3586c08f7d29d6ee9eed2a5aa9d33ad24012a6d2 - Adapt test_util.go and txn_test.go to use tidb-8.5 pd/client API (flat package structure vs master's sub-packages) - Replace retry.MayBackoffForRegionError with existing backoff pattern - Remove prewriteEncounterLockPolicy/NoResolvePolicy references (master-only feature not available in tidb-8.5) - Remove errorpb.GetUndeterminedResult check (not in this kvproto version) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: you06 <you1474600@gmail.com>
Signed-off-by: you06 <you1474600@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfzjywxk, zyguan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cherry pick #1833 to tidb-8.5 branch
ref tikv/tikv#19087
Support shared lock for client-go with some limitations: