1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// 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() }