fix(mnesia): apply dump_log_write_threshold before mnesia start.
change_config rejected the key; set_env + verify enables the IFT ceiling ladder. Refs EventHub/EventHubBack#30 Refs EventHub/EventHubBack#34 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -46,8 +46,9 @@ start_application() ->
|
||||
io:format("~nCluster: discovered nodes ~p, joining cluster~n", [Nodes]),
|
||||
application:set_env(eventhub, extra_db_nodes, Nodes)
|
||||
end,
|
||||
application:ensure_all_started(mnesia),
|
||||
ok = infra_mnesia:configure_dump_log(),
|
||||
application:ensure_all_started(mnesia),
|
||||
ok = infra_mnesia:verify_dump_log(),
|
||||
ok = infra_mnesia:init_tables(),
|
||||
ok = infra_mnesia:wait_for_tables(),
|
||||
ok = migration_engine:ensure_applied(),
|
||||
|
||||
Reference in New Issue
Block a user