reckon_db_cluster_sup (reckon_db v1.6.0)
View SourceCluster supervisor for reckon-db
Manages cluster-related components (cluster mode only): - Discovery (UDP multicast / K8s DNS) - Store coordinator (cluster join coordination)
Note: Node monitor is started by system_sup for all modes.
Summary
Functions
Start the cluster supervisor
Types
-type store_config() :: #store_config{store_id :: atom(), data_dir :: string(), mode :: single | cluster, timeout :: pos_integer(), writer_pool_size :: pos_integer(), reader_pool_size :: pos_integer(), gateway_pool_size :: pos_integer(), options :: map()}.
Functions
-spec start_link(store_config()) -> {ok, pid()} | {error, term()}.
Start the cluster supervisor