Skip to content

Conversation

LykxSassinator
Copy link
Contributor

This is a manual cherry-pick of #8991

What problem does this PR solve?

Issue Number: Close #9001, Ref tikv/tikv#18107, Ref tikv/tikv#18042

What is changed and how does it work?

This PR mainly contains the cooperative works on mitigating the performance impacts when scaling.

In this PR, it returns the NodeState in StoreHeartbeatResponse to store nodes,
to notify the corresponsive store to handle it if necessary.

In this PR, it returns the `NodeState` in `StoreHeartbeatResponse` to store nodes,
to notify the corresponsive store to handle it if necessary.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

Release note

None.

…at. (tikv#8991)

Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
@ti-chi-bot ti-chi-bot bot added do-not-merge/cherry-pick-not-approved release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the dco. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 7, 2025
Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
@LykxSassinator
Copy link
Contributor Author

/cc @rleungx @bufferflies PTAL, thx

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Jul 7, 2025
Copy link
Contributor

ti-chi-bot bot commented Jul 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bufferflies, rleungx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [bufferflies,rleungx]

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 ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 7, 2025
Copy link
Contributor

ti-chi-bot bot commented Jul 7, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-07-07 10:18:03.753433771 +0000 UTC m=+1908536.476612753: ☑️ agreed by rleungx.
  • 2025-07-07 10:19:11.70088521 +0000 UTC m=+1908604.424064458: ☑️ agreed by bufferflies.

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.54%. Comparing base (4cd009c) to head (5768bff).
Report is 1 commits behind head on release-8.5.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-8.5    #9498      +/-   ##
===============================================
- Coverage        75.62%   75.54%   -0.08%     
===============================================
  Files              463      463              
  Lines            72470    72471       +1     
===============================================
- Hits             54806    54751      -55     
- Misses           14166    14210      +44     
- Partials          3498     3510      +12     
Flag Coverage Δ
unittests 75.54% <100.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LykxSassinator
Copy link
Contributor Author

/check-cherry-pick-approved

@LykxSassinator
Copy link
Contributor Author

/cherry-pick-approved

@ti-chi-bot ti-chi-bot bot added cherry-pick-approved Cherry pick PR approved by release team. and removed do-not-merge/cherry-pick-not-approved labels Jul 7, 2025
@ti-chi-bot ti-chi-bot bot merged commit e778208 into tikv:release-8.5 Jul 7, 2025
28 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved cherry-pick-approved Cherry pick PR approved by release team. dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants