summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-04-03 15:35:02 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-04-03 15:35:02 +0200
commit4d95bea8efbdb64b288b9b049f37e726218ae9ed (patch)
tree0d93c77e0b984e01b728623a5d1fab6641119a02 /config-model
parent05a6349ce9c502b4f92747b980392fc807889997 (diff)
Turn on 16 distribution bits in us-central-1
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java3
1 files changed, 2 insertions, 1 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 8ce599590e8..bb1d8d37d60 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
@@ -593,7 +593,8 @@ public class ContentCluster extends AbstractConfigProducer implements StorDistri
* in config and not remove it again if they reduce the node count.
*/
public int distributionBits() {
- if (zone.region().equals(RegionName.from("us-west-1"))) return 16; // TODO: (March 2017): Enable for all hosted zones (i.e when zone isn't default)
+ if (zone.region().equals(RegionName.from("us-west-1"))) return 16; // TODO: Enable for all hosted zones (i.e when zone isn't default)
+ if (zone.region().equals(RegionName.from("us-central-1"))) return 16; // TODO: Enable for all hosted zones (i.e when zone isn't default)
return DistributionBitCalculator.getDistributionBits(getNodeCountPerGroup(), getDistributionMode());
}