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

[FIXED] Cluster toplogy change possibly not sent to clients #631

Merged

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Mar 4, 2018

When a server accepts a route, it will keep track of that server
connectURLs array. However, if the server was creating a route
to that other server at the same time, it will promote the route
as a solicited one. The content of that array was not transfered,
which means that on a disconnect, it was possible that the cluster
topology change was not properly sent to clients.

When a server accepts a route, it will keep track of that server
`connectURLs` array. However, if the server was creating a route
to that other server at the same time, it will promote the route
as a solicited one. The content of that array was not transfered,
which means that on a disconnect, it was possible that the cluster
topology change was not properly sent to clients.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 92.219% when pulling aeca31c on fix_connect_urls_notification_with_explicit_routes into 02dd205 on master.

@kozlovic kozlovic merged commit 33db08e into master Mar 4, 2018
@kozlovic kozlovic deleted the fix_connect_urls_notification_with_explicit_routes branch March 4, 2018 21:54
kozlovic added a commit that referenced this pull request Mar 6, 2018
This is the result of flapping tests in go-nats that were caused
by a defect (see PR https://github.com/nats-io/go-nats/pull/348).
However, during debugging, I realize that there were also things
that were not quite right in the server side. This change should
make it the notification of cluster topology changes to clients
more robust.
kozlovic added a commit that referenced this pull request Mar 6, 2018
This is the result of flapping tests in go-nats that were caused
by a defect (see PR https://github.com/nats-io/go-nats/pull/348).
However, during debugging, I realize that there were also things
that were not quite right in the server side. This change should
make it the notification of cluster topology changes to clients
more robust.
kozlovic added a commit that referenced this pull request Mar 6, 2018
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