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

refactor: disable mnesia boot phase altogether #231

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/ekka.erl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ start() ->
ekka_boot:register_mria_callbacks(),
{ok, _Apps} = application:ensure_all_started(ekka),
?tp(info, "Ekka is running", #{}),
ekka_boot:create_tables(),
%% NOTE
%% Ekka doesn't run a separate "mnesia boot" phase anymore. Users are
%% advised to manage tables explicitly by themselves as part of
%% applications' startup routines.
%% See also: `ekka_boot:create_tables/0`
ekka:exec_callback(start),
ok.

Expand Down
Loading