aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@vespa.ai>2023-11-10 12:17:25 +0000
committerTor Brede Vekterli <vekterli@vespa.ai>2023-11-10 13:11:06 +0000
commitf288e1bf9028f418e1be5568829acdceda720e89 (patch)
tree52c0dda0cdaad7ab5effe723a02419e458bf79ce /configdefinitions
parentb4ca69ae534534f4f3c36b96aa2423f93001b05f (diff)
Add and wire live config for selecting `DeleteBucket` behavior
By default the legacy behavior is used.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/stor-filestor.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/stor-filestor.def b/configdefinitions/src/vespa/stor-filestor.def
index c7ac1472d30..090f74dec12 100644
--- a/configdefinitions/src/vespa/stor-filestor.def
+++ b/configdefinitions/src/vespa/stor-filestor.def
@@ -114,3 +114,11 @@ async_operation_throttler_type enum { UNLIMITED, DYNAMIC } default=DYNAMIC
## Only applies if async_operation_throttler_type == DYNAMIC.
## DEPRECATED! use the async_operation_throttler struct instead
async_operation_dynamic_throttling_window_increment int default=20 restart
+
+## If set, DeleteBucket operations are internally expanded to an individually persistence-
+## throttled remove per document stored in the bucket. This makes the cost model of
+## executing a DeleteBucket symmetrical with feeding the documents to the bucket in the
+## first place.
+##
+## This is a live config.
+use_per_document_throttled_delete_bucket bool default=false