aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-13 16:22:23 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-13 16:22:23 +0200
commitab722cb40f5aacf661a280b7eb025acd3aefc1bb (patch)
tree20c275ab7019b9c1458e4c2daef56a1b93411f8a /src/model
parent38be811b1cd20d9223b481c0ea91cc7e3ee795dc (diff)
downloadgarage-ab722cb40f5aacf661a280b7eb025acd3aefc1bb.tar.gz
garage-ab722cb40f5aacf661a280b7eb025acd3aefc1bb.zip
Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8
Diffstat (limited to 'src/model')
-rw-r--r--src/model/garage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs
index ec1ec956..75012952 100644
--- a/src/model/garage.rs
+++ b/src/model/garage.rs
@@ -169,7 +169,7 @@ impl Garage {
background.clone(),
replication_mode.replication_factor(),
&config,
- );
+ )?;
let data_rep_param = TableShardedReplication {
system: system.clone(),