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

Speed up 'rabbitmqctl stop_app' (backport #11070) #11075

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 24, 2024

I noticed that stop_app would take over 5 seconds on an empty node which is strange. I found this gap in the logs:

2024-04-18 10:49:04.646450+09:00 [info] <0.599.0> Management plugin: to stop collect_statistics.
2024-04-18 10:49:09.647652+09:00 [debug] <0.247.0> Set stop reason to: normal

No point waiting for that stats to stop being emitted when we stop the node completely. It was added in 0e640da5 to ensure the stats stop when the management_agent gets disabled


This is an automatic backport of pull request #11070 done by Mergify.

I noticed that `stop_app` would take over 5 seconds on an empty
node which is strange. I found this gap in the logs:
```
2024-04-18 10:49:04.646450+09:00 [info] <0.599.0> Management plugin: to stop collect_statistics.
2024-04-18 10:49:09.647652+09:00 [debug] <0.247.0> Set stop reason to: normal
```
No point waiting for that stats to stop being emitted when we stop the
node completely. It was added in 0e640da5
to ensure the stats stop when the management_agent gets disabled

(cherry picked from commit 4f35fdb)
@michaelklishin michaelklishin added this to the 3.13.2 milestone Apr 24, 2024
@michaelklishin michaelklishin merged commit e773620 into v3.13.x Apr 24, 2024
16 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v3.13.x/pr-11070 branch April 24, 2024 16:01
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