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

Do not limit expansion of new peers #2119

Merged
merged 2 commits into from
Apr 15, 2021
Merged

Do not limit expansion of new peers #2119

merged 2 commits into from
Apr 15, 2021

Conversation

derekcollison
Copy link
Member

Under scenarios where peers would not be known prior to the metagroup leader being elected, they would artificially not be allowed to properly be added.

Signed-off-by: Derek Collison derek@nats.io

/cc @nats-io/core

Signed-off-by: Derek Collison <derek@nats.io>
@kozlovic
Copy link
Member

Just ran JS tests locally and got a failure:

=== RUN   TestJetStreamClusterPeerRemovalAPI
    jetstream_cluster_test.go:3050: Still in the peer list
--- FAIL: TestJetStreamClusterPeerRemovalAPI (0.47s)

suspect that this is related to this change, no?

@derekcollison
Copy link
Member Author

Looking now.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Contributor

@matthiashanel matthiashanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit eadd070 into master Apr 15, 2021
@derekcollison derekcollison deleted the peer_state branch April 15, 2021 11:52
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.

3 participants