diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-07-17 14:39:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 14:39:31 +0200 |
commit | 3f59a7da59991ef74adfd5bc334d96095945c575 (patch) | |
tree | fda589e351b812c1d3b77f7258cdcdd0b87fc80e | |
parent | dfde87874aaea64227d1185e31f1a9766bc7ddf4 (diff) | |
parent | fd578b991871c46d47b213b5dcda2ee3c677f8fa (diff) |
Merge pull request #6398 from vespa-engine/balder/default-summary-read-directio
As we changed to add a 5% summary cache some time ago, we should also…
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/search/NodeFlavorTuningTest.java | 2 | ||||
-rw-r--r-- | searchcore/src/vespa/searchcore/config/proton.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/search/NodeFlavorTuningTest.java b/config-model/src/test/java/com/yahoo/vespa/model/search/NodeFlavorTuningTest.java index 3019b35cd2e..d1fede3121c 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/search/NodeFlavorTuningTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/search/NodeFlavorTuningTest.java @@ -83,7 +83,7 @@ public class NodeFlavorTuningTest { @Test public void require_that_summary_read_io_is_set_based_on_disk() { assertSummaryReadIo(ProtonConfig.Summary.Read.Io.DIRECTIO, true); - assertSummaryReadIo(ProtonConfig.Summary.Read.Io.MMAP, false); + assertSummaryReadIo(ProtonConfig.Summary.Read.Io.DIRECTIO, false); } @Test diff --git a/searchcore/src/vespa/searchcore/config/proton.def b/searchcore/src/vespa/searchcore/config/proton.def index 7578066d93a..ca690aefa92 100644 --- a/searchcore/src/vespa/searchcore/config/proton.def +++ b/searchcore/src/vespa/searchcore/config/proton.def @@ -292,7 +292,7 @@ summary.write.io enum {NORMAL, OSYNC, DIRECTIO} default=DIRECTIO ## Control io options during read of stored documents. ## All summary.read options will take effect immediately on new files written. ## On old files it will take effect either upon compact or on restart. -summary.read.io enum {NORMAL, DIRECTIO, MMAP } default=MMAP restart +summary.read.io enum {NORMAL, DIRECTIO, MMAP } default=DIRECTIO restart ## Multiple optional options for use with mmap summary.read.mmap.options[] enum {MLOCK, POPULATE, HUGETLB} restart |