Skip to content

Do not GC channel-queue metrics on mirror migration #1341

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

Merged
merged 1 commit into from
Aug 24, 2017

Conversation

dcorbacho
Copy link
Contributor

Closes #1340

rabbitmq-server#1340
[#150442817]
@michaelklishin michaelklishin changed the base branch from master to stable August 23, 2017 12:21
Copy link
Collaborator

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

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

I reproduced the issue (saw negative stats numbers and dips in the graphs) using a 3-node local cluster with this policy. PerfTest connected to the node not hosting the mirrored queue:

$ ./deps/rabbit/scripts/rabbitmqctl -n rabbit3@shostakovich list_policies
Listing policies
/       gh-1340 queues  .*      {"ha-mode":"exactly","ha-params":2}     0

I then applied these changes, and the issue does not appear again.

@michaelklishin
Copy link
Collaborator

michaelklishin commented Aug 23, 2017

Tested this locally and deployed into our long-running environment. So far looking promising, no negative stats in over 1 hour (we had a setup that reproduced it every 2 minutes — so, after every stats GC run — before).

@michaelklishin michaelklishin merged commit 677f22a into stable Aug 24, 2017
@dumbbell dumbbell deleted the rabbitmq-server-1340 branch January 2, 2018 15:18
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.

4 participants