// Copyright 2020 TiKV Project Authors. Licensed under Apache-2.0.
mod changer;
#[cfg(test)]
pub mod datadriven_test;
mod restore;
pub use self::changer::{Changer, MapChange, MapChangeType};
pub use self::restore::restore;
use crate::tracker::Configuration;
#[inline]
pub(crate) fn joint(cfg: &Configuration) -> bool {
!cfg.voters().outgoing.is_empty()
}