warn when inconsistent level of replication is detected #92
1 changed files with 3 additions and 2 deletions
|
@ -545,9 +545,10 @@ impl System {
|
|||
}
|
||||
|
||||
if self.replication_factor < max_replication_factor {
|
||||
warn!("Some node have a higher replication factor ({}) than this one ({}). This is not supported and might lead to bugs",
|
||||
error!("Some node have a higher replication factor ({}) than this one ({}). This is not supported and might lead to bugs",
|
||||
max_replication_factor,
|
||||
self.replication_factor);
|
||||
std::process::exit(1);
|
||||
}
|
||||
if has_changed {
|
||||
status.recalculate_hash();
|
||||
|
|
Loading…
Reference in a new issue