Struct tikv::server::config::RaftStoreConfig [−][src]
Fields
prevote: boolraftdb_path: Stringcapacity: ReadableSizeraft_base_tick_interval: ReadableDurationraft_heartbeat_ticks: usizeraft_election_timeout_ticks: usizeraft_min_election_timeout_ticks: usizeraft_max_election_timeout_ticks: usizeraft_max_size_per_msg: ReadableSizeraft_max_inflight_msgs: usizeraft_entry_max_size: ReadableSizeraft_log_gc_tick_interval: ReadableDurationraft_log_gc_threshold: u64raft_log_gc_count_limit: u64raft_log_gc_size_limit: ReadableSizeraft_engine_purge_interval: ReadableDurationraft_entry_cache_life_time: ReadableDurationraft_reject_transfer_leader_duration: ReadableDurationsplit_region_check_tick_interval: ReadableDurationregion_split_check_diff: ReadableSizeWhen size change of region exceed the diff since last check, it will be checked again whether it should be split.
region_compact_check_interval: ReadableDurationInterval (ms) to check whether start compaction for a region.
region_compact_check_step: u64Number of regions for each time checking.
region_compact_min_tombstones: u64Minimum number of tombstones to trigger manual compaction.
region_compact_tombstones_percent: u64Minimum percentage of tombstones to trigger manual compaction. Should between 1 and 100.
pd_heartbeat_tick_interval: ReadableDurationpd_store_heartbeat_tick_interval: ReadableDurationsnap_mgr_gc_tick_interval: ReadableDurationsnap_gc_timeout: ReadableDurationlock_cf_compact_interval: ReadableDurationlock_cf_compact_bytes_threshold: ReadableSizenotify_capacity: usizemessages_per_tick: usizemax_peer_down_duration: ReadableDurationWhen a peer is not active for max_peer_down_duration, the peer is considered to be down and is reported to PD.
max_leader_missing_duration: ReadableDurationIf the leader of a peer is missing for longer than max_leader_missing_duration, the peer would ask pd to confirm whether it is valid in any region. If the peer is stale and is not valid in any region, it will destroy itself.
abnormal_leader_missing_duration: ReadableDurationSimilar to the max_leader_missing_duration, instead it will log warnings and try to alert monitoring systems, if there is any.
peer_stale_state_check_interval: ReadableDurationleader_transfer_max_log_lag: u64snap_apply_batch_size: ReadableSizeconsistency_check_interval: ReadableDurationreport_region_flow_interval: ReadableDurationraft_store_max_leader_lease: ReadableDurationright_derive_when_split: boolallow_remove_leader: boolmerge_max_log_gap: u64Max log gap allowed to propose merge.
merge_check_tick_interval: ReadableDurationInterval to re-propose merge.
use_delete_range: boolcleanup_import_sst_interval: ReadableDurationlocal_read_batch_size: u64Maximum size of every local read task batch.
apply_batch_system: Configstore_batch_system: Configfuture_poll_size: usizehibernate_regions: boolapply_yield_duration: ReadableDurationperf_level: PerfLevelImplementations
impl Config[src]
pub fn new() -> Config[src]
pub fn raft_store_max_leader_lease(&self) -> Duration[src]
pub fn raft_heartbeat_interval(&self) -> Duration[src]
pub fn validate(&mut self) -> Result<(), Error>[src]
pub fn write_into_metrics(&self)[src]
Trait Implementations
impl Clone for Config[src]
impl<'lt> Configuration<'lt> for Config[src]
type Encoder = Config_encoder_c626a200461aa863<'lt>
pub fn update(&mut self, incoming: HashMap<String, ConfigValue, RandomState>)[src]
pub fn diff(
&self,
incoming: &Config
) -> HashMap<String, ConfigValue, RandomState>[src]
&self,
incoming: &Config
) -> HashMap<String, ConfigValue, RandomState>
pub fn get_encoder(&'lt self) -> <Config as Configuration<'lt>>::Encoder[src]
pub fn typed(&self) -> HashMap<String, ConfigValue, RandomState>[src]
impl Debug for Config[src]
impl Default for Config[src]
impl<'de> Deserialize<'de> for Config where
Config: Default, [src]
Config: Default,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Config, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<Config, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<Config> for Config[src]
impl Serialize for Config[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for Config[src]
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>, [src]
W: ConvertTo<V>,
pub fn convert_from(ctx: &mut EvalContext, from: W) -> Result<V, Error>[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T[src]
pub const ALIGN: usize[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T[src]
pub unsafe fn drop(ptr: usize)[src]
impl<T> Pointable for T[src]
pub const ALIGN: usize[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T[src]
pub unsafe fn drop(ptr: usize)[src]
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized, [src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,