fix(mnesia): apply dump_log_write_threshold before mnesia start.
CI / test (push) Successful in 16m25s
CI / deploy-ift (push) Successful in 5m49s
CI / e2e-ift (push) Failing after 4m38s
CI / deploy-stage (push) Has been skipped
CI / e2e-stage (push) Has been skipped

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:
2026-07-16 19:22:32 +03:00
parent 6dc06ccdf4
commit 4327de486f
7 changed files with 371 additions and 29 deletions
+2 -1
View File
@@ -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(),