summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/timeseries.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/timeseries/timeseries.idl')
-rw-r--r--src/mongo/db/timeseries/timeseries.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/db/timeseries/timeseries.idl b/src/mongo/db/timeseries/timeseries.idl
index d3ede8fd3c3..3f858f17fe6 100644
--- a/src/mongo/db/timeseries/timeseries.idl
+++ b/src/mongo/db/timeseries/timeseries.idl
@@ -62,6 +62,18 @@ server_parameters:
cpp_varname: "gTimeseriesIdleBucketExpiryMaxCountPerAttempt"
default: 3
validator: { gte: 2 }
+ "timeseriesBucketMinCount":
+ description: "Time-series buckets that need to be closed due to size
+ (timeseriesBucketMaxSize) but haven't crossed this threshold are considered to
+ contain large measurements, and will be kept open to improve bucketing
+ performance. These buckets will be closed when they reach the threshold or if
+ the bucket is close to the max BSON size limit. Setting this to 1 disables
+ this behaviour."
+ set_at: [ startup ]
+ cpp_vartype: "std::int32_t"
+ cpp_varname: "gTimeseriesBucketMinCount"
+ default: 10
+ validator: { gte: 1 }
enums:
BucketGranularity: