Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pd-ctl: print warn information when set max-replica to less than current #8983

Merged
merged 7 commits into from
Jan 13, 2025

Conversation

lhy1024
Copy link
Contributor

@lhy1024 lhy1024 commented Jan 8, 2025

What problem does this PR solve?

Issue Number: Close #8959

What is changed and how does it work?

Check List

Tests

  • Unit test

Release note

None.

@ti-chi-bot ti-chi-bot bot added 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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 8, 2025
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.34%. Comparing base (31a0ad6) to head (2fb9d2b).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8983      +/-   ##
==========================================
+ Coverage   76.29%   76.34%   +0.05%     
==========================================
  Files         465      465              
  Lines       70539    70565      +26     
==========================================
+ Hits        53816    53874      +58     
+ Misses      13376    13349      -27     
+ Partials     3347     3342       -5     
Flag Coverage Δ
unittests 76.34% <100.00%> (+0.05%) ⬆️

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

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jan 9, 2025
Signed-off-by: lhy1024 <[email protected]>
@lhy1024 lhy1024 requested a review from rleungx January 13, 2025 03:44
Signed-off-by: lhy1024 <[email protected]>
@ti-chi-bot ti-chi-bot bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 13, 2025
@lhy1024 lhy1024 changed the title pd-ctl: print warn information when set max-replica to less than 3 pd-ctl: print warn information when set max-replica to less than current Jan 13, 2025
Signed-off-by: lhy1024 <[email protected]>
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 13, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: okJiang, 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:

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 approved and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jan 13, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 13, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-09 02:57:37.363016347 +0000 UTC m=+408800.651848082: ☑️ agreed by okJiang.
  • 2025-01-13 09:59:35.832408336 +0000 UTC m=+779719.121240048: ☑️ agreed by rleungx.

@ti-chi-bot ti-chi-bot bot merged commit ad172c7 into tikv:master Jan 13, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

double confirm or print warn information when set max-replica to less than 3
3 participants