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

meta node status is always 'none' in the output of 'show cluster' #532

Open
localvar opened this issue Mar 13, 2024 · 5 comments
Open

meta node status is always 'none' in the output of 'show cluster' #532

localvar opened this issue Mar 13, 2024 · 5 comments
Assignees
Labels
bug Something isn't working simple 修改少量代码

Comments

@localvar
Copy link
Contributor

localvar commented Mar 13, 2024

Describe the bug(Bug 描述)

in the output of show cluster, meta node status is always none, no matter the node is up or dow.

To Reproduce(Bug 复现步骤)

> show cluster
+---------------------+--------+---------------------+--------+----------+
|        time         | status |      hostname       | nodeID | nodeType |
+---------------------+--------+---------------------+--------+----------+
| 1710300701177100770 | none   | 192.168.1.14:8091   |      1 | meta     |
| 1710300701177100770 | none   | 192.168.1.44:8091   |      3 | meta     |
| 1710300701177100770 | none   | 192.168.1.62:8091   |      4 | meta     |
| 1710300701177100770 | failed | 192.168.1.62:8400   |      2 | data     |
| 1710300701177100770 | alive  | 192.168.1.44:8400   |      5 | data     |
| 1710300701177100770 | alive  | 192.168.1.14:8400   |      6 | data     |
+---------------------+--------+---------------------+--------+----------+
5 columns, 6 rows in set
``
@localvar localvar added the bug Something isn't working label Mar 13, 2024
@shilinlee
Copy link
Member

The meta status is not supported. It is always none.

@localvar
Copy link
Contributor Author

The meta status is not supported. It is always none.

Do you mean it is an expected behavior?

@xiangyu5632
Copy link
Member

The meta status is not supported. It is always none.

Do you mean it is an expected behavior?

是的,获取meta的状态信息还没实现,所以用none来表示。如果show cluster不显示meta,又感觉缺了meta的状态,这样也不太合适。

@localvar
Copy link
Contributor Author

In this case, I think change it to something like WIP, TBD or Not Implemented would be better because the meaning of these phrases are clear while none is not.

The meta status is not supported. It is always none.

Do you mean it is an expected behavior?

是的,获取meta的状态信息还没实现,所以用none来表示。如果show cluster不显示meta,又感觉缺了meta的状态,这样也不太合适。

@xiangyu5632
Copy link
Member

Good idea

@xiangyu5632 xiangyu5632 self-assigned this Mar 19, 2024
@xiangyu5632 xiangyu5632 added the simple 修改少量代码 label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working simple 修改少量代码
Projects
None yet
Development

No branches or pull requests

4 participants