pub struct OutOfIsrFacts {
pub has_electable_elr: bool,
pub last_known_leader_electable: bool,
pub recovery: FailoverRecovery,
pub unclean_election_available: bool,
}Expand description
The out-of-ISR options, consulted only when no ISR member is live.
Fields§
§has_electable_elr: boolA live KIP-966 eligible leader replica can lead.
last_known_leader_electable: boolKafka’s canElectLastKnownLeader, less the empty-ISR test that
LiveIsr::Empty already carries: the target ELR is empty, the
partition’s lastKnownElr holds exactly one replica, and that replica
is live and can lead.
recovery: FailoverRecoveryThe topic’s resolved offset-aware recovery strategy.
unclean_election_available: boolThe KIP-841 out-of-ISR election is both permitted by
unclean.leader.election.enable and has a live replica to elect.
Trait Implementations§
Source§impl Clone for OutOfIsrFacts
impl Clone for OutOfIsrFacts
Source§fn clone(&self) -> OutOfIsrFacts
fn clone(&self) -> OutOfIsrFacts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutOfIsrFacts
Source§impl Debug for OutOfIsrFacts
impl Debug for OutOfIsrFacts
impl Eq for OutOfIsrFacts
Source§impl PartialEq for OutOfIsrFacts
impl PartialEq for OutOfIsrFacts
impl StructuralPartialEq for OutOfIsrFacts
Auto Trait Implementations§
impl Freeze for OutOfIsrFacts
impl RefUnwindSafe for OutOfIsrFacts
impl Send for OutOfIsrFacts
impl Sync for OutOfIsrFacts
impl Unpin for OutOfIsrFacts
impl UnsafeUnpin for OutOfIsrFacts
impl UnwindSafe for OutOfIsrFacts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more