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

(pdms)add pdms instance info into system table cluster_info #51409

Closed
mayjiang0203 opened this issue Feb 29, 2024 · 0 comments · Fixed by #51410
Closed

(pdms)add pdms instance info into system table cluster_info #51409

mayjiang0203 opened this issue Feb 29, 2024 · 0 comments · Fixed by #51410
Assignees

Comments

@mayjiang0203
Copy link

Enhancement

After deploying pdms, pdms instances should be listed in information_schema.cluster_info.

mysql> select * from information_schema.cluster_info;
+------+--------------------------------------------------------+--------------------------------------------------------+-------------+------------------------------------------+---------------------+---------------------+-----------+
| TYPE | INSTANCE | STATUS_ADDRESS | VERSION | GIT_HASH | START_TIME | UPTIME | SERVER_ID |
+------+--------------------------------------------------------+--------------------------------------------------------+-------------+------------------------------------------+---------------------+---------------------+-----------+
| tidb | tc-tidb-0.tc-tidb-peer.testbed-pdms-hm-c6rhk.svc:4000 | tc-tidb-0.tc-tidb-peer.testbed-pdms-hm-c6rhk.svc:10080 | 8.0.0-alpha | 2c46b8e | 2024-02-26 07:57:51 | 66h48m50.475833073s | 609 |
| tidb | tc-tidb-1.tc-tidb-peer.testbed-pdms-hm-c6rhk.svc:4000 | tc-tidb-1.tc-tidb-peer.testbed-pdms-hm-c6rhk.svc:10080 | 8.0.0-alpha | 2c46b8e | 2024-02-26 07:57:51 | 66h48m50.475836569s | 60 |
| pd | tc-pd-0.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | tc-pd-0.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | 8.0.0-alpha | 682213753f98cd46dafcf47eeb36b3e1d030ad21 | 2024-02-26 07:56:38 | 66h50m3.475837518s | 0 |
| pd | tc-pd-1.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | tc-pd-1.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | 8.0.0-alpha | 682213753f98cd46dafcf47eeb36b3e1d030ad21 | 2024-02-26 07:56:22 | 66h50m19.475838417s | 0 |
| pd | tc-pd-2.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | tc-pd-2.tc-pd-peer.testbed-pdms-hm-c6rhk.svc:2379 | 8.0.0-alpha | 682213753f98cd46dafcf47eeb36b3e1d030ad21 | 2024-02-26 07:56:26 | 66h50m15.475839393s | 0 |
| tikv | tc-tikv-2.tc-tikv-peer.testbed-pdms-hm-c6rhk.svc:20160 | 10.200.72.121:20180 | 8.0.0-alpha | 9b60505a84d550a6d34582b2d44d3066cff9f75e | 2024-02-26 07:57:09 | 66h49m32.475840212s | 0 |
| tikv | tc-tikv-0.tc-tikv-peer.testbed-pdms-hm-c6rhk.svc:20160 | 10.200.35.195:20180 | 8.0.0-alpha | 9b60505a84d550a6d34582b2d44d3066cff9f75e | 2024-02-26 07:57:13 | 66h49m28.475840906s | 0 |
| tikv | tc-tikv-1.tc-tikv-peer.testbed-pdms-hm-c6rhk.svc:20160 | 10.200.46.17:20180 | 8.0.0-alpha | 9b60505a84d550a6d34582b2d44d3066cff9f75e | 2024-02-26 07:57:13 | 66h49m28.475841789s | 0 |
+------+--------------------------------------------------------+--------------------------------------------------------+-------------+------------------------------------------+---------------------+---------------------+-----------+
8 rows in set (0.08 sec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants