find_datanode_lease_value

Function find_datanode_lease_value 

Source
pub async fn find_datanode_lease_value(
    in_memory: &KvBackendRef,
    datanode_id: DatanodeId,
) -> Result<Option<LeaseValue>>
Expand description

Returns the lease value of the given datanode id, if the datanode is not found, returns None.