Skip to content

tool: add a tool to patrol region key #9320

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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

lhy1024
Copy link
Contributor

@lhy1024 lhy1024 commented May 13, 2025

What problem does this PR solve?

Issue Number: Close #xxx

What is changed and how does it work?

Check List

Tests

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

img_v3_02m8_798f0fc8-b733-4707-8cbd-31d98347353g
img_v3_02m8_aed6774b-553a-43c6-98e3-562b79d4bafg

Code changes

Side effects

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

Related changes

Release note

None.

@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue 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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 13, 2025
Copy link

codecov bot commented May 13, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 6 lines in your changes missing coverage. Please review.

Project coverage is 76.12%. Comparing base (ab7efa6) to head (4624ec6).
Report is 44 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9320      +/-   ##
==========================================
- Coverage   76.14%   76.12%   -0.02%     
==========================================
  Files         472      478       +6     
  Lines       73259    74764    +1505     
==========================================
+ Hits        55783    56916    +1133     
- Misses      14026    14312     +286     
- Partials     3450     3536      +86     
Flag Coverage Δ
unittests 76.12% <77.77%> (-0.02%) ⬇️

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.

Copy link
Contributor

ti-chi-bot bot commented May 16, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign qiuyesuifeng for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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

lhy1024 and others added 5 commits May 16, 2025 18:48
Signed-off-by: lhy1024 <[email protected]>
Signed-off-by: nolouch <[email protected]>
Signed-off-by: nolouch <[email protected]>
Signed-off-by: lhy1024 <[email protected]>
Signed-off-by: lhy1024 <[email protected]>
@lhy1024
Copy link
Contributor Author

lhy1024 commented May 20, 2025

./pd-ctl -u 192.168.8.88:2379 operator add split-region \
$(./pd-ctl -u 192.168.8.88:2379 region key "7480000000000AE1FFAB5F72F800000000FF052EEA0100000000FB" | jq '.id') \
--policy=usekey --keys=7480000000000B01FFE75F72F800000000FF05613A0100000000FB

image

Copy link
Contributor

ti-chi-bot bot commented Jun 12, 2025

[FORMAT CHECKER NOTIFICATION]

Notice: To remove the do-not-merge/needs-linked-issue label, please provide the linked issue number on one line in the PR body, for example: Issue Number: close #123 or Issue Number: ref #456, multiple issues should use full syntax for each issue and be separated by a comma, like: Issue Number: close #123, ref #456.

📖 For more info, you can check the "Linking issues" section in the CONTRIBUTING.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has signed the dco. do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants