summaryrefslogtreecommitdiff
path: root/src/mongo/db/snapshot_window_options.idl
diff options
context:
space:
mode:
authorLingzhi Deng <lingzhi.deng@mongodb.com>2020-05-07 16:21:38 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-13 15:47:52 +0000
commit84fd6eb9c0a700329dc0750261d05dd6741791cc (patch)
tree297aa121c0315d4bbaf8c323a2ac4c494448b9b1 /src/mongo/db/snapshot_window_options.idl
parent4497a21aae1bf9eabce5394798582f113d2f5a45 (diff)
downloadmongo-84fd6eb9c0a700329dc0750261d05dd6741791cc.tar.gz
SERVER-47997: Remove cachePressureThreshold and isCacheUnderPressuref1b99df5
Diffstat (limited to 'src/mongo/db/snapshot_window_options.idl')
-rw-r--r--src/mongo/db/snapshot_window_options.idl14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mongo/db/snapshot_window_options.idl b/src/mongo/db/snapshot_window_options.idl
index 97af09647a2..a5eae77268c 100644
--- a/src/mongo/db/snapshot_window_options.idl
+++ b/src/mongo/db/snapshot_window_options.idl
@@ -28,8 +28,6 @@
global:
cpp_namespace: "mongo"
- cpp_includes:
- - "mongo/db/snapshot_window_options.h"
imports:
- "mongo/idl/basic_types.idl"
@@ -38,13 +36,7 @@ server_parameters:
minSnapshotHistoryWindowInSeconds:
description: "Minimum snapshot history to keep, in seconds"
set_at: [ startup, runtime ]
- cpp_varname: "snapshotWindowParams.minSnapshotHistoryWindowInSeconds"
+ cpp_vartype: AtomicWord<int>
+ cpp_varname: minSnapshotHistoryWindowInSeconds
+ default: 5
validator: { gte: 0 }
-
- cachePressureThreshold:
- description: "Cache pressure threshold"
- set_at: [ startup, runtime ]
- cpp_varname: "snapshotWindowParams.cachePressureThreshold"
- validator:
- gte: 0
- lte: 100