Skip to main content

update_voter_refusal

Function update_voter_refusal 

Source
pub fn update_voter_refusal(
    request: &UpdateRaftVoterRequest,
    cluster_id: &str,
    quorum: &QuorumStateSnapshot,
) -> Option<i16>
Expand description

The refusal code of an UpdateRaftVoter request before the reconfiguration, as KafkaRaftClient.handleUpdateVoterRequest and UpdateVoterHandler order it. The response carries no message.