emqtt版本:5.7.2
情况是这样,3台节点;在集群中将1强制踢掉,随后1删除数据并重新启动后再次加入到集群,发现无法启动报错如下:
Kernel pid terminated (application_controller) ("{application_start_failure,emqx,{bad_return,{{emqx_app,start,[normal,]},{‘EXIT’,{{badmatch,{error,{{shutdown,{failed_to_start_child,shard_allocator,{badarg,[{persistent_term,get,[emqx_ds_builtin_site],[{error_info,#{module => erl_erts_errors}}]},{emqx_ds_replication_layer_meta,my_shards,1,[{file,"emqx_ds_replication_layer_meta.erl"},{line,259}]},{emqx_ds_replication_shard_allocator,allocate_shards,1,[{file,"emqx_ds_replication_shard_allocator.erl"},{line,418}]},{emqx_ds_replication_shard_allocator,handle_allocate_shards,1,[{file,"emqx_ds_replication_shard_allocator.erl"},{line,143}]},{emqx_ds_replication_shard_allocator,init,1,[{file,"emqx_ds_replication_shard_allocator.erl"},{line,102}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,980}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,935}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]}}},{child,undefined,messages,{emqx_ds_builtin_db_sup,start_db,[messages,#{s