Skip to content

Commit 6551d42

Browse files
committed
DOCS-12082: logicalSessionRefreshMillis replace logicalSessionRefreshMinutes
1 parent 0e90616 commit 6551d42

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

source/reference/command/serverStatus.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,11 @@ logicalSessionRecordCache
640640
:binary:`~bin.mongod` or :binary:`~bin.mongos` instance since the last
641641
refresh period.
642642

643-
.. seealso:: :pipeline:`$listLocalSessions`, :parameter:`logicalSessionRefreshMinutes`
643+
.. seealso::
644+
645+
- :pipeline:`$listLocalSessions`
646+
- :parameter:`logicalSessionRefreshMillis`
647+
- :parameter:`logicalSessionRefreshMinutes`
644648

645649
.. serverstatus:: logicalSessionRecordCache.sessionsCollectionJobCount
646650

source/reference/parameters.txt

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,9 +1190,41 @@ The following parameters support diagnostic data capture (FTDC):
11901190
Logical Session Parameters
11911191
~~~~~~~~~~~~~~~~~~~~~~~~~~
11921192

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+
11931220
.. parameter:: logicalSessionRefreshMinutes
11941221

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.
11961228

11971229
|both|
11981230

0 commit comments

Comments
 (0)