summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-01-19 23:08:54 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-01-19 23:08:54 +0100
commit769f0e9ddd81585d0365a076f90fb99d0b37913b (patch)
treefeac73085c78f856078e1635fc7daebbf0b81723 /config-model
parent8393371bcece2ddff3e8b185e8e72747ad44c804 (diff)
Add initial_redundancy, active_per_leaf_group and ready_copies to new config
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java
index 31656b59932..a627e030156 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java
@@ -759,7 +759,10 @@ public class ContentCluster extends AbstractConfigProducer implements
getConfig(storDistributionBuilder);
StorDistributionConfig config = storDistributionBuilder.build();
+ clusterBuilder.active_per_leaf_group(config.active_per_leaf_group());
+ clusterBuilder.ready_copies(config.ready_copies());
clusterBuilder.redundancy(config.redundancy());
+ clusterBuilder.initial_redundancy(config.initial_redundancy());
for (StorDistributionConfig.Group group : config.group()) {
DistributionConfig.Cluster.Group.Builder groupBuilder = new DistributionConfig.Cluster.Group.Builder();