-
Notifications
You must be signed in to change notification settings - Fork 720
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
tools/simulator: support simulator with multiple pds #8304
Conversation
Signed-off-by: husharp <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8304 +/- ##
==========================================
- Coverage 77.38% 77.27% -0.11%
==========================================
Files 470 470
Lines 61356 61356
==========================================
- Hits 47480 47413 -67
- Misses 10310 10381 +71
+ Partials 3566 3562 -4
Flags with carried forward coverage won't be shown. Click here to find out more. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nolouch, 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 |
/merge |
@nolouch: We have migrated to builtin 👉 Please use
Instructions 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 ti-community-infra/tichi repository. |
@HuSharp: Your PR was out of date, I have automatically updated it for you. If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions 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 ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: Ref #8135
What is changed and how does it work?
tiup playground v8.0.0 --kv.binpath ./pd-simulator --kv=1 --db=0 --kv.config=../conf/simconfig.toml --pd 3
Test Result
tiup playground v8.0.0 --kv.binpath ./pd-simulator --kv=1 --db=0 --kv.config=../conf/simconfig.toml --pd 3
cluster metrics
add node to trigger balance
after
curl --location --request POST 'http://127.0.0.1:20180/event?event=add-node'
test leader change
run
./pd-ctl member
firstly to check leadertransfer leader
$ ./pd-ctl member leader transfer pd-1 Success!
heartbeat upload
remove node to trigger balance
curl --location --request POST 'http://127.0.0.1:20180/event?event=down-node'
Check List
Tests
Release note