warn when inconsistent level of replication is detected #92

Merged
lx merged 3 commits from trinity-1686a/garage:warn-inconsistent-replication into main 2021-06-02 11:30:40 +00:00
Showing only changes of commit 8611f8c0ef - Show all commits

View file

@ -544,7 +544,7 @@ impl System {
} }
} }
if self.replication_factor < max_replication_factor { if self.replication_factor < max_replication_factor {
error!("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, max_replication_factor,
self.replication_factor); self.replication_factor);