mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-03 11:37:42 +00:00
fullcopy tables: fix read quorum
This commit is contained in:
@@ -53,7 +53,7 @@ impl TableReplication for TableFullReplication {
|
||||
ConsistencyMode::Consistent => {
|
||||
let layout = self.system.cluster_layout();
|
||||
let nodes = layout.read_version()?.all_nodes();
|
||||
Ok(nodes.len().div_euclid(2) + 1)
|
||||
Ok(nodes.len().div_ceil(2))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user