File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. important ::
2
+
3
+ Methods which reset the shell's connection to the server trigger a
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:
11
+
12
+ - ``db.auth ``
13
+ - ``Mongo.setReadPref ``
14
+ - ``Mongo.setReadConcern ``
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ The following document lists the available methods in the |mdb-shell|.
18
18
Click a method to see its documentation in the
19
19
:manual:`MongoDB Manual </>`, including syntax and examples.
20
20
21
+ .. include:: /includes/admonitions/connection-resets.rst
22
+
21
23
Administration Methods
22
24
----------------------
23
25
You can’t perform that action at this time.
0 commit comments