Skip to main content

directory_response_decision

Function directory_response_decision 

Source
pub fn directory_response_decision(
    response_ok: bool,
    sent_controller: u64,
    current_controller: Option<u64>,
) -> DirectoryResponseDecision
Expand description

Accept success only while the controller identity that answered remains the current leader. A missing or changed leader makes the response stale.