diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-02-24 15:07:43 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-02-24 15:15:02 +0000 |
commit | 7364304c8a32b4a744335c95c72e036da080ec22 (patch) | |
tree | 90bda5625ad5b74fa46b4762cd367f93d2a5706c /configdefinitions | |
parent | ccf690fbe40e769161c6bf15bbd0d2f87ad7cefa (diff) |
Make it possible to configure what aspects of merges should be throttled
Add live config for choosing whether merges should be throttled
on a per-feed operation (`MergeHandler`) level, or on an `ApplyBucketDiff`
persistence thread level.
This is intended to be a temporary feature while we do experiments, so
some liberties are taken with regards to how holes are punched in the
various abstraction layers.
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/stor-filestor.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/stor-filestor.def b/configdefinitions/src/vespa/stor-filestor.def index 036ed47ddc9..e54b503ed93 100644 --- a/configdefinitions/src/vespa/stor-filestor.def +++ b/configdefinitions/src/vespa/stor-filestor.def @@ -88,6 +88,11 @@ async_operation_throttler.window_size_backoff double default=0.95 async_operation_throttler.min_window_size int default=20 async_operation_throttler.max_window_size int default=-1 # < 0 implies INT_MAX async_operation_throttler.resize_rate double default=3.0 +## If true, each put/remove contained within a merge is individually throttled as if it +## were a put/remove from a client. If false, merges are throttled at a persistence thread +## level, i.e. per ApplyBucketDiff message, regardless of how many document operations +## are contained within. +async_operation_throttler.throttle_individual_merge_feed_ops bool default=true ## Specify throttling used for async persistence operations. This throttling takes place ## before operations are dispatched to Proton and serves as a limiter for how many |