diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-10-22 12:27:50 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-10-22 12:27:50 +0000 |
commit | 34eec1fe815a6382375f3c5fb4369fb939915ea1 (patch) | |
tree | 34f0119b239d6f138d13d58ab6e9459f4d940d17 /config-model/src/main/java/com/yahoo/vespa/model/content | |
parent | 477354aea222aad8b23bb121ce6c4add8da1c462 (diff) |
Add feature flag for "async-apply-bucket-diff".
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/content')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/content/storagecluster/FileStorProducer.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/content/storagecluster/FileStorProducer.java b/config-model/src/main/java/com/yahoo/vespa/model/content/storagecluster/FileStorProducer.java index 5c692e8ef6b..d7f6fb6c581 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/content/storagecluster/FileStorProducer.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/content/storagecluster/FileStorProducer.java @@ -47,6 +47,7 @@ public class FileStorProducer implements StorFilestorConfig.Producer { private final int reponseNumThreads; private final StorFilestorConfig.Response_sequencer_type.Enum responseSequencerType; private final boolean useAsyncMessageHandlingOnSchedule; + private final boolean asyncApplyBucketDiff; private static StorFilestorConfig.Response_sequencer_type.Enum convertResponseSequencerType(String sequencerType) { try { @@ -62,6 +63,7 @@ public class FileStorProducer implements StorFilestorConfig.Producer { this.reponseNumThreads = featureFlags.defaultNumResponseThreads(); this.responseSequencerType = convertResponseSequencerType(featureFlags.responseSequencerType()); useAsyncMessageHandlingOnSchedule = featureFlags.useAsyncMessageHandlingOnSchedule(); + asyncApplyBucketDiff = featureFlags.asyncApplyBucketDiff(); } @Override @@ -73,6 +75,7 @@ public class FileStorProducer implements StorFilestorConfig.Producer { builder.num_response_threads(reponseNumThreads); builder.response_sequencer_type(responseSequencerType); builder.use_async_message_handling_on_schedule(useAsyncMessageHandlingOnSchedule); + builder.async_apply_bucket_diff(asyncApplyBucketDiff); } } |