SERVER-108257 Lower WiredTiger max sessions for the spill engine (#39218)

GitOrigin-RevId: 52a3cc06b3e76d09a7392e40282b481988965c87
This commit is contained in:
Louis Williams 2025-07-28 14:03:19 -07:00 committed by MongoDB Bot
parent 47bd14d734
commit d1722270a9
2 changed files with 11 additions and 1 deletions

View File

@ -236,7 +236,7 @@ WiredTigerKVEngineBase::WiredTigerConfig getSpillWiredTigerConfigFromStartupOpti
gSpillWiredTigerCacheSizePercentage,
gSpillWiredTigerCacheSizeMinMB,
gSpillWiredTigerCacheSizeMaxMB);
wtConfig.sessionMax = wiredTigerGlobalOptions.sessionMax;
wtConfig.sessionMax = gSpillWiredTigerSessionMax;
wtConfig.evictionThreadsMin = gSpillWiredTigerEvictionThreadsMin;
wtConfig.evictionThreadsMax = gSpillWiredTigerEvictionThreadsMax;
wtConfig.evictionDirtyTargetMB =

View File

@ -423,6 +423,16 @@ server_parameters:
lte: 22
redact: false
spillWiredTigerSessionMax:
description: "The WiredTiger session limit for the spill engine"
set_at: startup
cpp_vartype: int32_t
cpp_varname: gSpillWiredTigerSessionMax
default: 1024
validator:
gte: 1
redact: false
spillWiredTigerEngineConfig:
description: >-
The config string of WiredTiger storage engine options used for the spill engine.