2023-09-07T02:08:46.079540+00:00 [error] msg: Mria callback crashed, mfa: mria_lib:exec_callback/2, line: 226, callback: start, error: {badmatch,{error,{ekka,{{shutdown,{failed_to_start_child,ekka_cluster_sup,{shutdown,{failed_to_start_child,ekka_cluster_etcd,{{badmatch,{error,[{{"dev-etcd.meross.dev.vpc",2379},{shutdown,ehostunreach}}]}},[{ekka_cluster_etcd,init,1,[{file,"ekka_cluster_etcd.erl"},{line,357}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,851}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}}}},{ekka_app,start,[normal,[]]}}}}}, stacktrace: [{ekka,start,0,[{file,"ekka.erl"},{line,97}]},{mria_lib,exec_callback,2,[{file,"mria_lib.erl"},{line,220}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]
2023-09-07T02:09:07.465426+00:00 [error] Failed to connect ETCD: {"dev-etcd.meross.dev.vpc",2379} by {shutdown,ehostunreach} mfa: eetcd_conn:fold_connect/5 line: 205
2023-09-07T02:09:07.465831+00:00 [error] Supervisor: {local,ekka_cluster_sup}. Context: start_error. Reason: {{badmatch,{error,[{{"dev-etcd.meross.dev.vpc",2379},{shutdown,ehostunreach}}]}},[{ekka_cluster_etcd,init,1,[{file,"ekka_cluster_etcd.erl"},{line,357}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,851}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}. Offender: id=ekka_cluster_etcd,pid=undefined.
2023-09-07T02:09:07.466098+00:00 [error] crasher: initial call: ekka_cluster_etcd:init/1, pid: <0.2244.0>, registered_name: [], error: {{badmatch,{error,[{{"dev-etcd.meross.dev.vpc",2379},{shutdown,ehostunreach}}]}},[{ekka_cluster_etcd,init,1,[{file,"ekka_cluster_etcd.erl"},{line,357}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,851}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,814}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}, ancestors: [ekka_cluster_sup,ekka_sup,<0.2241.0>], message_queue_len: 0, messages: [], links: [<0.2243.0>], dictionary: [], trap_exit: true, status: running, heap_size: 610, stack_size: 28, reductions: 289; neighbours: []
让他能在etcd恢复时重连成功。