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 @@ -640,7 +640,11 @@ logicalSessionRecordCache
640
640
:binary:`~bin.mongod` or :binary:`~bin.mongos` instance since the last
641
641
refresh period.
642
642
643
- .. seealso:: :pipeline:`$listLocalSessions`, :parameter:`logicalSessionRefreshMinutes`
643
+ .. seealso::
644
+
645
+ - :pipeline:`$listLocalSessions`
646
+ - :parameter:`logicalSessionRefreshMillis`
647
+ - :parameter:`logicalSessionRefreshMinutes`
644
648
645
649
.. serverstatus:: logicalSessionRecordCache.sessionsCollectionJobCount
646
650
Original file line number Diff line number Diff line change @@ -1190,9 +1190,41 @@ The following parameters support diagnostic data capture (FTDC):
1190
1190
Logical Session Parameters
1191
1191
~~~~~~~~~~~~~~~~~~~~~~~~~~
1192
1192
1193
+ .. parameter:: logicalSessionRefreshMillis
1194
+
1195
+ .. admonition:: Availability
1196
+ :class: note
1197
+
1198
+ New in version 4.0.5 (and version 3.6.9).
1199
+
1200
+ |both|
1201
+
1202
+ *Type*: integer
1203
+
1204
+ *Default*: 300000 (i.e. 5 minutes)
1205
+
1206
+ The interval (in milliseconds) at which the cache refreshes its logical
1207
+ session records against the main session store.
1208
+
1209
+ You can only set :parameter:`logicalSessionRefreshMillis` at
1210
+ startup and cannot change this setting with the
1211
+ :dbcommand:`setParameter` command.
1212
+
1213
+ For example, to set the :parameter:`logicalSessionRefreshMillis`
1214
+ for a :binary:`~bin.mongod` instance to 10 minutes:
1215
+
1216
+ .. code-block:: sh
1217
+
1218
+ mongod --setParameter logicalSessionRefreshMillis=600000
1219
+
1193
1220
.. parameter:: logicalSessionRefreshMinutes
1194
1221
1195
- .. versionadded:: 3.6
1222
+ .. admonition:: Availability
1223
+ :class: note
1224
+
1225
+ Only for MongoDB 3.6.0-3.6.8 and MongoDB 4.0.0-4.0.4.
1226
+ Starting in 4.0.5 (and 3.6.9), see
1227
+ :parameter:`logicalSessionRefreshMillis` instead.
1196
1228
1197
1229
|both|
1198
1230
You can’t perform that action at this time.
0 commit comments