Skip to content

OTP 24 compat: switch management and management_agent to use pg #2850

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 5 commits into from
Feb 26, 2021

Conversation

michaelklishin
Copy link
Collaborator

since pg2 was removed in OTP 24.

The only decision worth mentioning here is that both plugins share
a pg scope, which is started in rabbitmq_management_agent supervision
tree and idempotently started in rabbitmq_management without
attaching the scope pid to its tree.

Per discussion with @lhoguin.

since pg2 was removed in OTP 24.

The only decision worth mentioning here is that both plugins share
a pg scope, which is started in rabbitmq_management_agent supervision
tree and idempotently started in rabbitmq_management without
attaching the scope pid to its tree.

Per discussion with @lhoguin.
@lhoguin lhoguin merged commit 1f2e323 into master Feb 26, 2021
@michaelklishin michaelklishin added this to the 3.9.0 milestone Feb 26, 2021
@michaelklishin michaelklishin deleted the mk-otp-24-compat-pg2-to-pg-migration branch February 26, 2021 16:34
@michaelklishin
Copy link
Collaborator Author

For as long as we support Erlang 22, we'd have to keep this 3.9-specific. After Erlang 22 support is dropped, we can backport this.

luos added a commit to luos/rabbitmq-server that referenced this pull request May 14, 2021
Previously the restart intensity was 100 and period 50. This process was
prone to crashing in the past, so it does not make sense to not restart it
if anything happens during the gathering of statistics.

Related: rabbitmq#2850
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