File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,11 @@ logicalSessionRecordCache
441
441
:binary:`~bin.mongod` or :binary:`~bin.mongos` instance since the last
442
442
refresh period.
443
443
444
- .. seealso:: :pipeline:`$listLocalSessions`, :parameter:`logicalSessionRefreshMinutes`
444
+ .. seealso::
445
+
446
+ - :pipeline:`$listLocalSessions`
447
+ - :parameter:`logicalSessionRefreshMillis`
448
+ - :parameter:`logicalSessionRefreshMinutes`
445
449
446
450
.. serverstatus:: logicalSessionRecordCache.sessionsCollectionJobCount
447
451
Original file line number Diff line number Diff line change @@ -1201,9 +1201,41 @@ The following parameters support diagnostic data capture (FTDC):
1201
1201
Logical Session Parameters
1202
1202
~~~~~~~~~~~~~~~~~~~~~~~~~~
1203
1203
1204
+ .. parameter:: logicalSessionRefreshMillis
1205
+
1206
+ .. admonition:: Availability
1207
+ :class: note
1208
+
1209
+ New in version 4.0.5 (and version 3.6.9).
1210
+
1211
+ |both|
1212
+
1213
+ *Type*: integer
1214
+
1215
+ *Default*: 300000 (i.e. 5 minutes)
1216
+
1217
+ The interval (in milliseconds) at which the cache refreshes its logical
1218
+ session records against the main session store.
1219
+
1220
+ You can only set :parameter:`logicalSessionRefreshMillis` at
1221
+ startup and cannot change this setting with the
1222
+ :dbcommand:`setParameter` command.
1223
+
1224
+ For example, to set the :parameter:`logicalSessionRefreshMillis`
1225
+ for a :binary:`~bin.mongod` instance to 10 minutes:
1226
+
1227
+ .. code-block:: sh
1228
+
1229
+ mongod --setParameter logicalSessionRefreshMillis=600000
1230
+
1204
1231
.. parameter:: logicalSessionRefreshMinutes
1205
1232
1206
- .. versionadded:: 3.6
1233
+ .. admonition:: Availability
1234
+ :class: note
1235
+
1236
+ Only for MongoDB 3.6.0-3.6.8 and MongoDB 4.0.0-4.0.4.
1237
+ Starting in 4.0.5 (and 3.6.9), see
1238
+ :parameter:`logicalSessionRefreshMillis` instead.
1207
1239
1208
1240
|both|
1209
1241
You can’t perform that action at this time.
0 commit comments