Skip to main content

resolve_replica_id

Function resolve_replica_id 

Source
pub(crate) fn resolve_replica_id(explicit: Option<&str>) -> String
Expand description

This replica’s lease identity: the explicit --replica-id, else the HOSTNAME env (the pod name in k8s), else a local fallback.