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

Initialize external backends earlier to allow backup and fallback to work #9137

Closed
wants to merge 5 commits into from

Conversation

Mikaka27
Copy link
Contributor

@Mikaka27 Mikaka27 commented Dec 3, 2024

In current code, external backends are only initialized when mnesia finishes initializing schema. This is too late because backup traversal already tried to execute, causing a crash.

Fixes: #8045

Copy link
Contributor

github-actions bot commented Dec 3, 2024

CT Test Results

  2 files   57 suites   19m 46s ⏱️
678 tests 531 ✅ 147 💤 0 ❌
731 runs  570 ✅ 161 💤 0 ❌

Results for commit 3cf7555.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

lib/mnesia/src/mnesia_tm.erl Outdated Show resolved Hide resolved
@Mikaka27 Mikaka27 force-pushed the michal/mnesia/issue-8045 branch 2 times, most recently from d0a9e0c to 1f41f1b Compare December 5, 2024 14:52
@Mikaka27 Mikaka27 force-pushed the michal/mnesia/issue-8045 branch from 1f41f1b to 3cf7555 Compare December 5, 2024 16:48
@Mikaka27
Copy link
Contributor Author

Mikaka27 commented Dec 6, 2024

Will come as separate PR with OTP number.

@Mikaka27 Mikaka27 closed this Dec 6, 2024
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