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

Make cluster nodes list more deterministic #128

Merged
merged 1 commit into from
Oct 7, 2014

Conversation

dgivens
Copy link

@dgivens dgivens commented Jun 29, 2014

I know this doesn't make much sense, but for some reason, I'm seeing cluster_disk_node come out in weird orders, thus causing unexpected restarts of the rabbitmq service. This just adds a sort to ensure the array is presented in a consistent state and avoid unnecessary restarts.

@dgivens
Copy link
Author

dgivens commented Sep 25, 2014

Any chance this can be merged? Without this patch, my rabbitmq clusters are constantly restarting the rabbitmq service due to the random ordering of the config.

@kamaradclimber
Copy link
Contributor

lgtm
we should also offer a way to prevent service restart with an attribute

@kennonkwok kennonkwok merged commit f72c599 into rabbitmq:master Oct 7, 2014
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