-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
executor: fix tiflash store information in cluster_info table (#15871) #16024
executor: fix tiflash store information in cluster_info table (#15871) #16024
Conversation
/run-all-tests |
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.
@crazycs520 please fix the build failure:
[2020-04-02T14:21:52.568Z] infoschema/tables.go:1023:17: undefined: helper
[2020-04-02T14:21:52.568Z] infoschema/tables.go:1046:37: undefined: helper
[2020-04-02T14:21:52.568Z] infoschema/tables.go:1077:17: undefined: helper
[2020-04-02T14:21:52.568Z] make: *** [importer] Error 2
[2020-04-02T14:21:53.133Z] # github.com/pingcap/tidb/infoschema
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1023:17: undefined: helper
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1046:37: undefined: helper
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1077:17: undefined: helper
[2020-04-02T14:21:53.133Z] # github.com/pingcap/tidb/infoschema
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1023:17: undefined: helper
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1046:37: undefined: helper
[2020-04-02T14:21:53.133Z] infoschema/tables.go:1077:17: undefined: helper
/run-all-tests |
LGTM |
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
Your auto merge job has been accepted, waiting for 16372 |
/run-all-tests |
@sre-bot merge failed. |
/run-integration-common-test |
cherry-pick #15871 to release-4.0
What problem does this PR solve?
Fix Issue #15821.
When TiDB cluster with TiFlash node, the tiflash node information in
cluster_info
is wrong.What is changed and how it works?
Fix
cluster_info
table information by getting all stores usePDClieng.GetAllStores
.This PR:
Related changes
Tests
Side effects
Release note
cluster_info
table was wrong.