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|.
1818Click a method to see its documentation in the
1919:manual:`MongoDB Manual </>`, including syntax and examples.
2020
21+ .. include:: /includes/admonitions/connection-resets.rst
22+
2123Administration Methods
2224----------------------
2325
You can’t perform that action at this time.
0 commit comments