Private/issue 2677 decision statistics pr desc clean#10948
Conversation
Non-default keyspace group TSO services now read all keyspace group timestamps at startup and use the maximum value, ensuring TSO monotonicity without requiring metadata cleanup during TSO node start/stop operations. Signed-off-by: Jiale Lin <63439129+ljluestc@users.noreply.github.com>
Use the effective TSO timeout when resetting the dispatcher stream loop timer on each batch, so timeout behavior no longer falls back to pd-server-timeout. Add a dispatcher unit test that verifies stream-loop retries honor TSO timeout instead of the PD timeout, and align suite setup timeout defaults with the new semantics. Remove local PR description artifact from tracked files. Closes: tikv#9469 Signed-off-by: Jiale Lin <63439129+ljluestc@users.noreply.github.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 skippedDraft detected. 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 |
|
Hi @ljluestc. Thanks for your PR. I'm waiting for a tikv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: Close #1125
When a TiKV store disconnects or remains unavailable for a long time, the
pd/api/v1/storesresponse may returnlast_heartbeat_tsasnil.The root cause is that watcher/meta synchronization can overwrite in-memory
store metadata with an incoming
LastHeartbeatthat is missing (0) or older,which loses the previously observed latest heartbeat timestamp.
What is changed and how does it work?
Changes in this PR:
core.SetStoreMetato mergeLastHeartbeatmonotonically:LastHeartbeatwhen it is greater than the current one.TestSetStoreMetaPreservesLastHeartbeatinpkg/core/store_test.gotoverify preserve/update/non-regression behavior.
Check List
Tests
Code changes
Side effects
Related changes
pingcap/docs/pingcap/docs-cn:pingcap/tiup:Release note