Skip to content

Conversation

ohkinozomu
Copy link
Contributor

  • It appears that in Serf, nodes that have called Leave() still remain in the members with the StatusLeft state.
    NumMembers() returns a value that includes nodes with the StatusLeft state, which I believe does not meet user expectations.
    I have modified it to return only nodes with the StatusAlive state.

  • Since NumMembers() is not currently being used, I have removed it from the Node interface.

@wind-c
Copy link
Owner

wind-c commented Aug 8, 2024

Good job!

@wind-c wind-c merged commit dc99116 into wind-c:main Aug 8, 2024
1 check passed
@ohkinozomu ohkinozomu deleted the add-serf-test branch August 13, 2024 04:32
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

Successfully merging this pull request may close these issues.

2 participants