Function tikv::config::check_critical_config[][src]

pub fn check_critical_config(config: &TiKvConfig) -> Result<(), String>

Prevents launching with an incompatible configuration

Loads the previously-loaded configuration from last_tikv.toml, compares key configuration items and fails if they are not identical.