aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-01-10 13:17:20 +0100
committerGitHub <noreply@github.com>2022-01-10 13:17:20 +0100
commit6d4003bbef4ccc8366377ba6512c6e6d02404aad (patch)
tree749bb978972232d627c747ea93e1648fc35db79c /config-model
parent7e7da7ea458c7470ffdd9d11b8306c42d9cf7275 (diff)
Revert "Revert "Balder/default disk bloat at 25 percent""
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java2
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaClusterTest.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java
index c4be4cbcd38..3cd7a4634f0 100644
--- a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java
+++ b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java
@@ -70,7 +70,7 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea
private int distributorMergeBusyWait = 10;
private int docstoreCompressionLevel = 9;
private int maxUnCommittedMemory = 123456;
- private double diskBloatFactor = 0.2;
+ private double diskBloatFactor = 0.25;
private boolean distributorEnhancedMaintenanceScheduling = false;
private boolean asyncApplyBucketDiff = false;
private boolean unorderedMergeChaining = false;
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaClusterTest.java
index d6020a96818..51badae2746 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaClusterTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/content/ContentSchemaClusterTest.java
@@ -275,8 +275,8 @@ public class ContentSchemaClusterTest {
@Test
public void verifyControlOfDiskBloatFactor() throws Exception {
var defaultCfg = getProtonConfig(createCluster(new ContentClusterBuilder().getXml()));
- assertEquals(0.2, defaultCfg.flush().memory().diskbloatfactor(), EPSILON);
- assertEquals(0.2, defaultCfg.flush().memory().each().diskbloatfactor(), EPSILON);
+ assertEquals(0.25, defaultCfg.flush().memory().diskbloatfactor(), EPSILON);
+ assertEquals(0.25, defaultCfg.flush().memory().each().diskbloatfactor(), EPSILON);
var controlledCfg = getProtonConfig(createCluster(new ContentClusterBuilder().getXml(),
new DeployState.Builder().properties(new TestProperties().diskBloatFactor(0.31))