pub async fn lookup_flownode_peer(
flownode_id: FlownodeId,
meta_peer_client: &MetaPeerClientRef,
lease_secs: u64,
) -> Result<Option<Peer>>
Expand description
look up [Peer
] given [ClusterId
] and DatanodeId
, only return if it’s alive under given lease_secs