-
Notifications
You must be signed in to change notification settings - Fork 729
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
api: Revert for showing State in StoreInfo #4485
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #4485 +/- ##
==========================================
+ Coverage 74.93% 74.99% +0.06%
==========================================
Files 264 264
Lines 27937 27913 -24
==========================================
Hits 20934 20934
+ Misses 5141 5124 -17
+ Partials 1862 1855 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
126a044
to
afcfb9f
Compare
/cc @rleungx |
/run-integration-test |
/run-all-tests |
/run-integration-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest LGTM.
@@ -361,7 +361,7 @@ func (s *TestServer) GetStoreRegions(storeID uint64) []*core.RegionInfo { | |||
func (s *TestServer) BootstrapCluster() error { | |||
bootstrapReq := &pdpb.BootstrapRequest{ | |||
Header: &pdpb.RequestHeader{ClusterId: s.GetClusterID()}, | |||
Store: &metapb.Store{Id: 1, Address: "mock://1", LastHeartbeat: time.Now().UnixNano()}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@@ -130,8 +130,8 @@ func (h *trendHandler) getTrendStores() ([]trendStore, error) { | |||
for _, store := range stores { | |||
info := newStoreInfo(h.svr.GetScheduleConfig(), store) | |||
s := trendStore{ | |||
ID: info.Store.StoreID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can keep it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/merge |
@JmPotato: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests 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. |
This pull request has been accepted and is ready to merge. Commit hash: afcfb9f
|
* Revert "fix tikv#3816: recovered pdctl/store_test && add comment to function onlu used by test" This reverts commit acc531f. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit 0f0f65a. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit b36673f. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit 8c28174. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "Fix tikv#3816 delete unnecessary field and fix unit test" This reverts commit acc942e. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * revert tikv#4334 Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * revert tikv#4334: empty commit for add signed-off-by Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> Co-authored-by: JmPotato <ghzpotato@gmail.com> Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
* Revert "fix tikv#3816: recovered pdctl/store_test && add comment to function onlu used by test" This reverts commit acc531f. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit 0f0f65a. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit b36673f. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "fix tikv#3816: fix code format problem" This reverts commit 8c28174. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * Revert "Fix tikv#3816 delete unnecessary field and fix unit test" This reverts commit acc942e. Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * revert tikv#4334 Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> * revert tikv#4334: empty commit for add signed-off-by Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> Co-authored-by: JmPotato <ghzpotato@gmail.com> Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
What problem does this PR solve?
refer to pingcap/tiup#1684
What is changed and how it works?
Revert #4334
Release note