Skip to content

Commit 227c497

Browse files
committed
DOCSP-13313: [MONGOSH] Investigate if reconnecting MongoClient will interfere with sessions
1 parent 3f3b220 commit 227c497

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/includes/admonitions/connection-resets.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
.. important::
22

33
Methods which reset the shell's connection to the server trigger a
4-
termination of all open :manual:`sessions </reference/server-sessions>`.
5-
The following methods reset the shell's connection:
4+
termination of all open server :manual:`sessions
5+
</reference/server-sessions>`. When a session ends, all in-progress
6+
operations are terminated as well, and the client must re-authenticate if
7+
authentication is enabled.
8+
9+
The following methods reset the shell's
10+
connection:
611

712
- ``db.auth``
813
- ``Mongo.setReadPref``

0 commit comments

Comments
 (0)