Function rpc_serve

Source
pub async fn rpc_serve(
    address_info: AddressInfo,
    meta_store_backend: MetaStoreBackend,
    max_cluster_heartbeat_interval: Duration,
    lease_interval_secs: u64,
    opts: MetaOpts,
    init_system_params: SystemParams,
    init_session_config: SessionConfig,
    shutdown: CancellationToken,
) -> MetaResult<()>
Expand description

A wrapper around rpc_serve_with_store that dispatches different store implementations.

For the timing of returning, see rpc_serve_with_store.