File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -465,30 +465,14 @@ cli_cluster_status() ->
465
465
end .
466
466
467
467
% % For when Khepri is enabled
468
- init_cluster (ClusterNodes ) ->
468
+ init_cluster (_ClusterNodes ) ->
469
469
% % Ensure the local Khepri store is running before we can join it. It
470
470
% % could be stopped if RabbitMQ is not running for instance.
471
471
ok = setup (),
472
472
khepri :info (? RA_CLUSTER_NAME ),
473
473
_ = application :ensure_all_started (khepri_mnesia_migration ),
474
474
mnesia_to_khepri :sync_cluster_membership (? STORE_ID ).
475
475
476
- add_members ([]) ->
477
- ok ;
478
- add_members ([UnclusteredNode | UnclusteredNodes ]) ->
479
- ThisNode = node (),
480
- case check_cluster_consistency (UnclusteredNode , false ) of
481
- {ok , _ } ->
482
- case add_member (UnclusteredNode , ThisNode ) of
483
- ok ->
484
- add_members (UnclusteredNodes );
485
- Error ->
486
- Error
487
- end ;
488
- Error ->
489
- Error
490
- end .
491
-
492
476
% %%%%%%%
493
477
% % TODO run_peer_discovery!!
494
478
% %%%%%%
You can’t perform that action at this time.
0 commit comments