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

feat: add custom diagnostic checks when mnesia is stuck #160

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

thalesmg
Copy link
Contributor

@thalesmg thalesmg marked this pull request as ready for review September 15, 2023 14:19
src/mria_config.erl Outdated Show resolved Hide resolved
true ->
ok;
false ->
?LOG(critical, "Configuration error: extra mnesia diagnostic "
Copy link
Member

Choose a reason for hiding this comment

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

Check when set, and raise an exception?

Copy link
Contributor Author

@thalesmg thalesmg Sep 18, 2023

Choose a reason for hiding this comment

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

#160 (comment)
we changed it to avoid raising any errors and possibly prevent recovery.

@thalesmg thalesmg merged commit efda226 into emqx:main Sep 18, 2023
1 check passed
@thalesmg thalesmg deleted the custom-diagnostics branch September 18, 2023 18:38
HJianBo added a commit to emqx/ekka that referenced this pull request Sep 19, 2023
HJianBo added a commit to HJianBo/emqx that referenced this pull request Sep 19, 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.

None yet

3 participants