tso: speed up tso update for release-8.5-20251204-v8.5.4#10693
Conversation
close tikv#10138 1. Advance the physical timestamp by the GetTs request, not only by the ticker. 2. Only the ticker can save the timestamp into the storage when it reaches the save time to avoid frequent updating. Signed-off-by: bufferflies <1045931706@qq.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
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 ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 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 |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.5-20251204-v8.5.4 #10693 +/- ##
==============================================================
Coverage ? 78.18%
==============================================================
Files ? 469
Lines ? 64493
Branches ? 0
==============================================================
Hits ? 50426
Misses ? 10421
Partials ? 3646
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
250861a
into
tikv:release-8.5-20251204-v8.5.4
|
ref #10702 |
What problem does this PR solve?
Issue Number: Close #10138
cp link:https://github.com/tikv/pd/pull/10137/changes
What is changed and how does it work?
Check List
Tests
Master(tso-update-physical-interval = "2s"):

This PR(tso-update-physical-interval = "2s")

Code changes
Side effects
Related changes
pingcap/docs/pingcap/docs-cn:Release note
Summary by CodeRabbit
New Features
Bug Fixes
Tests