Skip to content

Error when releasing the schema #218

Description

@ieQu1
026-07-30T15:49:42.526367+00:00 [notice] Application: esockd. Exited: stopped. Type: permanent.
2026-07-30T15:49:42.528141+00:00 [notice] Application: emqx_conf. Exited: stopped. Type: temporary.
2026-07-30T15:49:42.528264+00:00 [warning] pid: <0.6980.0>, node: 'emqx@n3.local', reason: stop, '$kind': Stopping mria
2026-07-30T15:49:42.552927+00:00 [notice] Application: mria. Exited: stopped. Type: temporary.
2026-07-30T15:49:42.553662+00:00 [error] Error in process <0.6999.0> on node 'emqx@n3.local' with exit value:, {badarg,[{erlang,unlink,[undefined],[{error_info,#{module => erl_erts_errors}}]},{mnesia_controller,release_schema_commit_lock,0,[{file,"mnesia_controller.erl"},{line,338}]},{mnesia_dumper,update,3,[{file,"mnesia_dumper.erl"},{line,303}]},{mnesia_tm,do_commit,3,[{file,"mnesia_tm.erl"},{line,1859}]},{mnesia_tm,commit_participant,7,[{file,"mnesia_tm.erl"},{line,1789}]}]}
2026-07-30T15:49:42.557913+00:00 [notice] Application: mnesia. Exited: stopped. Type: temporary.
2026-07-30T15:49:42.592321+00:00 [error] Supervisor: {local,classy_membership_sup}. Context: child_terminated. Reason: shutdown. Offender: id=worker,pid=<0.7018.0>.
2026-07-30T15:49:42.592509+00:00 [notice] pid: <0.7020.0>, seed: 'emqx@n2.local', '$kind': Mria is restarting to join the cluster
2026-07-30T15:49:42.621859+00:00 [notice] pid: <0.7020.0>, seed: 'emqx@n2.local', result: ok, '$kind': Mria has joined the cluster
2026-07-30T15:49:42.621999+00:00 [notice] pid: <0.7057.0>, local: <<"z_tal6tS09fPNKK4G1eQOw">>, cluster: <<"SL9JOBNlbUAn5SnhWgP-0A">>, '$kind': classy_joined_cluster, intent: autocluster, joined_to_node: 'emqx@n2.local'
2026-07-30T15:49:42.629291+00:00 [notice] pid: <0.7066.0>, node: 'emqx@n4.local', site: <<"8PRSPJWMulqR0El8m2afHA">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629444+00:00 [notice] pid: <0.7070.0>, node: 'emqx@n9.local', site: <<"T94DE-s011qckpzRCvBu0g">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629517+00:00 [notice] pid: <0.7074.0>, node: 'emqx@n10.local', site: <<"n7_w69dmU42nsnJ8UtEbEw">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629586+00:00 [notice] pid: <0.7078.0>, node: 'emqx@n6.local', site: <<"nyOtEGYk66qIK4YTjehHEw">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629664+00:00 [notice] pid: <0.7082.0>, node: 'emqx@n5.local', site: <<"t8BEU53vulO2qYz_Rf9S7g">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629784+00:00 [notice] pid: <0.7087.0>, node: 'emqx@n1.local', site: <<"twMhEK9Ue_rtARkSDjaOyg">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.629879+00:00 [notice] pid: <0.7092.0>, node: 'emqx@n2.local', site: <<"y0Pn2OZrjUg48P-ve418Eg">>, '$kind': classy_peer_connected
2026-07-30T15:49:42.630119+00:00 [notice] pid: <0.7096.0>, env: [{cluster_autoheal,true},{{callback,heal_partition},fun emqx_broker_heal:on_autoheal/1},{shard_transport,distr},{rlog_rpc_module,rpc},{bootstrap_batch_size,500},{db_backend,rlog},{{callback,lb_custom_info},fun emqx_machine:mria_lb_custom_info/0},{{callback,lb_custom_info_check},fun emqx_machine:mria_lb_custom_info_check/1},{node_role,core}], '$kind': Starting mria
2026-07-30T15:49:42.634111+00:00 [notice] pid: <0.7096.0>, '$kind': Starting mnesia
2026-07-30T15:49:42.635648+00:00 [notice] pid: <0.7096.0>, '$kind': Starting shards
2026-07-30T15:49:42.882167+00:00 [error] crasher: initial call: mria_schema:init/1, pid: <0.7117.0>, registered_name: [], error: {function_clause,[{mria_lib,ensure_ok,[{no_exists,{emqx_license_session_hwm,cstruct}}],[{file,"/media/aux/work/emqx/deps/mria/src/mria_lib.erl"},{line,197}]},{mria_schema,apply_schema_op,2,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,489}]},{lists,foldl_1,3,[{file,"lists.erl"},{line,2471}]},{mria_schema,init,1,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,250}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,2276}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,2236}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,333}]}]}, ancestors: [mria_sup,<0.7096.0>], message_queue_len: 0, messages: [], links: [<0.7115.0>,<0.7028.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 26639; neighbours:
2026-07-30T15:49:42.882370+00:00 [error] Supervisor: {local,mria_sup}. Context: start_error. Reason: {function_clause,[{mria_lib,ensure_ok,[{no_exists,{emqx_license_session_hwm,cstruct}}],[{file,"/media/aux/work/emqx/deps/mria/src/mria_lib.erl"},{line,197}]},{mria_schema,apply_schema_op,2,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,489}]},{lists,foldl_1,3,[{file,"lists.erl"},{line,2471}]},{mria_schema,init,1,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,250}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,2276}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,2236}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,333}]}]}. Offender: id=mria_schema,pid=undefined.
2026-07-30T15:49:42.882633+00:00 [error] crasher: initial call: application_master:init/3, pid: <0.7095.0>, registered_name: [], exit: {{{shutdown,{failed_to_start_child,mria_schema,{function_clause,[{mria_lib,ensure_ok,[{no_exists,{emqx_license_session_hwm,cstruct}}],[{file,"/media/aux/work/emqx/deps/mria/src/mria_lib.erl"},{line,197}]},{mria_schema,apply_schema_op,2,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,489}]},{lists,foldl_1,3,[{file,"lists.erl"},{line,2471}]},{mria_schema,init,1,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,250}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,2276}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,2236}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,333}]}]}}},{mria_app,start,[normal,[]]}},[{application_master,init,3,[{file,"application_master.erl"},{line,147}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,333}]}]}, ancestors: [application_controller,<0.10.0>], message_queue_len: 1, messages: [{'EXIT',<0.7096.0>,normal}], links: [<0.3953.0>], dictionary: [], trap_exit: true, status: running, heap_size: 987, stack_size: 29, reductions: 238; neighbours:
2026-07-30T15:49:42.882649+00:00 [notice] Application: mria. Exited: {{shutdown,{failed_to_start_child,mria_schema,{function_clause,[{mria_lib,ensure_ok,[{no_exists,{emqx_license_session_hwm,cstruct}}],[{file,"/media/aux/work/emqx/deps/mria/src/mria_lib.erl"},{line,197}]},{mria_schema,apply_schema_op,2,[{file,"/media/aux/work/emqx/deps/mria/src/mria_schema.erl"},{line,489}]},{lists,foldl_1,3,[{file,"lists.erl"},{line,2471}]},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions