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

cluster_info for TiFlash is not correct #15821

Closed
lzmhhh123 opened this issue Mar 30, 2020 · 0 comments · Fixed by #15871
Closed

cluster_info for TiFlash is not correct #15821

lzmhhh123 opened this issue Mar 30, 2020 · 0 comments · Fixed by #15871
Assignees
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@lzmhhh123
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?

TiDB(root@10.0.1.5:test) > select * from information_schema.cluster_info;
+------+-----------------+-----------------+---------------------------+------------------------------------------+---------------------------+------------------------+
| TYPE | INSTANCE        | STATUS_ADDRESS  | VERSION                   | GIT_HASH                                 | START_TIME                | UPTIME                 |
+------+-----------------+-----------------+---------------------------+------------------------------------------+---------------------------+------------------------+
| tidb | 10.0.1.5:4000   | 10.0.1.5:10080  | 5.7.25-TiDB-v4.0.0-beta.2 | 5268094afe05c7efef0d91d2deeec428cc85abe6 | 2020-03-27T21:29:16+08:00 | 62h34m22.732449167s    |
| pd   | 10.0.1.5:2379   | 10.0.1.5:2379   | 4.0.0-beta.2              | 7ebad5232e7df681d8d425900f52984574539568 | 2020-03-27T21:28:50+08:00 | 62h34m48.732456167s    |
| tikv | 10.0.1.9:20173  | 10.0.1.9:20183  | 4.0.0-beta.2              | 7908f6e6699239fff23daa444961b5a47ff659da | 2020-03-27T21:29:03+08:00 | 62h34m35.732458667s    |
| tikv | 10.0.1.10:20172 | 10.0.1.10:20182 | 4.0.0-beta.2              | 7908f6e6699239fff23daa444961b5a47ff659da | 2020-03-27T21:29:05+08:00 | 62h34m33.732460867s    |
| tikv | 10.0.1.10:20171 | 10.0.1.10:20181 | 4.0.0-beta.2              | 7908f6e6699239fff23daa444961b5a47ff659da | 2020-03-27T21:29:05+08:00 | 62h34m33.732462967s    |
| tikv | 10.0.1.7:3930   |                 | 4.0.0-beta                |                                          | 1970-01-01T08:00:00+08:00 | 440428h3m38.732465267s |
+------+-----------------+-----------------+---------------------------+------------------------------------------+---------------------------+------------------------+
6 rows in set (0.00 sec)

2. What did you expect to see?

10.0.1.7:3930 is a TiFlash node, the type of it should be "tiflash" and other information should be correct.

3. What did you see instead?

It shows tikv and information is all wrong.

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

TiDB(root@10.0.1.5:test) > select tidb_version();
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                                |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v4.0.0-beta.2
Git Commit Hash: 5268094afe05c7efef0d91d2deeec428cc85abe6
Git Branch: heads/refs/tags/v4.0.0-beta.2
UTC Build Time: 2020-03-18 01:25:02
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants