Skip to content

FHC: use exception-safe versions of ets update functions #8790

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
Jul 9, 2023

Conversation

michaelklishin
Copy link
Collaborator

Otherwise, if the FHC runs into an exception because of an ETS write failure, most code paths begin failing.

This may help with the condition in #8784.

Copy link
Contributor

@lhoguin lhoguin left a comment

Choose a reason for hiding this comment

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

This works as a temporary measure, approved.

@michaelklishin michaelklishin force-pushed the rabbitmq-server-8784 branch from 5d4c774 to be1bde3 Compare July 8, 2023 18:18
Otherwise, if the FHC runs into an exception because of an ETS
write failure, most code paths begin failing.

This may help with the condition in #8784.
Via `web_mqtt.enable_file_handle_cache`
@michaelklishin
Copy link
Collaborator Author

This addresses several scenarios to the best of our current understanding without introducing any obvious regressions. Let merge it and allow the user to try out a 3.12.2 alpha.

@michaelklishin
Copy link
Collaborator Author

Note that the OCI build failures are not related.

@michaelklishin michaelklishin merged commit 601e981 into main Jul 9, 2023
@michaelklishin michaelklishin deleted the rabbitmq-server-8784 branch July 9, 2023 05:42
michaelklishin added a commit that referenced this pull request Jul 9, 2023
FHC: use exception-safe versions of ets update functions (backport #8790)
michaelklishin added a commit that referenced this pull request Jul 10, 2023
{prefix}.enable_file_handle_cache => {prefix}.use_file_handle_cache
michaelklishin added a commit that referenced this pull request Jul 10, 2023
mergify bot pushed a commit that referenced this pull request Jul 10, 2023
{prefix}.enable_file_handle_cache => {prefix}.use_file_handle_cache

(cherry picked from commit 71a23c3)
michaelklishin added a commit that referenced this pull request Jul 10, 2023
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy