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 rabbit_misc:which_applications/0 more resilient (backport #11322) (backport #11323) #11326

Merged
merged 1 commit into from
May 25, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented May 25, 2024

In certain shutdown scenarios this function on
Erlang 26 runs into exceptions that stem from
application_controller.

The objective of this function is to be
an exception-safe version of
application:which_applications/1, so let's
handle more cases.

This helps certain test suites avoid exceptions
(process crash reports) logged during shutdown,
which makes CT helpers fail test run even
though there were no exceptions in RabbitMQ
itself, and all the exception indicates is a
certain edge case (during system shutdown)
that application_controller does not care to handle.


This is an automatic backport of pull request #11322 done by [Mergify](https://mergify.com).
This is an automatic backport of pull request #11323 done by [Mergify](https://mergify.com).

In certain shutdown scenarios this function on
Erlang 26 runs into exceptions that stem from
application_controller.

The objective of this function is to be
an exception-safe version of
application:which_applications/1, so let's
handle more cases.

This helps certain test suites avoid exceptions
(process crash reports) logged during shutdown,
which makes CT helpers fail test run even
though there were no exceptions in RabbitMQ
itself, and all the exception indicates is a
certain edge case (during system shutdown)
that application_controller does not care to handle.

(cherry picked from commit ca09440)
(cherry picked from commit addc990)
@michaelklishin michaelklishin added this to the 3.12.15 milestone May 25, 2024
@michaelklishin michaelklishin merged commit 951fa66 into v3.12.x May 25, 2024
15 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v3.12.x/pr-11323 branch May 25, 2024 06:46
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.

1 participant