From de4321636359e286a024c3b48ea37cf0cb258cdb Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Thu, 15 Feb 2024 17:12:50 +0100 Subject: [PATCH] refactor: disable mnesia boot phase altogether --- src/ekka.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ekka.erl b/src/ekka.erl index c83d51d..f3b3931 100644 --- a/src/ekka.erl +++ b/src/ekka.erl @@ -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.