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

Feature request: Update state of node in memberlist #266

Open
y-eight opened this issue Jul 27, 2022 · 0 comments
Open

Feature request: Update state of node in memberlist #266

y-eight opened this issue Jul 27, 2022 · 0 comments

Comments

@y-eight
Copy link

y-eight commented Jul 27, 2022

Currently, the state property of a node in the memberlist is not updated.

for _, member := range mesh.Members() {
	fmt.Printf("Member: %s %v\n", member.Name, member.State)
}

2 nodes in cluster:

Member: node8082 0
Member: node8081 0

2nd Node timeout - not reachable anymore. Global health score changes to a higher score.
The state of the 2nd Node in the memberlist does not change.

Expected: State of the Node in memberlist changes to a higher score, e.g.

Member: node8082 0
Member: node8081 1

...

Question:
Any other possibilities to get the health status of a single node in the memberlist at the moment?

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

No branches or pull requests

1 participant