-
Type: Improvement
-
Resolution: Fixed
-
Priority: Critical - P2
-
None
-
Component/s: None
-
None
Bugs in three MongoDB drivers were causing sessions to leak. If a large number of sessions are leaked, this can have a significant performance impact on the server and may cause the server to run out of memory. Below is a list of drivers and versions affected by this bug:
- Java driver, versions 3.6.0 to 3.6.2. Leaks fixed in version 3.6.3 (see
JAVA-2778) - Ruby driver version 2.5.0. Leaks fixed in version 2.5.1 (see
RUBY-1300) - Node driver versions 3.0.0 to 3.0.4. Leaks fixed in version 3.0.5 (see
NODE-1362)
If you’re using any of the affected drivers, please refer to the individual ticket for details on the impact and upgrade to aforementioned versions to avoid the issue.
We have updated our Sessions spec and added tests to prevent regressions in the future. We have also verified that the remaining MongoDB drivers do not leak sessions and are in the process of adding the tests to be compliant with latest spec change.
- depends on
-
JAVA-2778 Implicit sessions are sometimes leaked
- Closed
-
PHPC-1120 Decrease likelihood of implicit session leaks
- Closed
-
CDRIVER-2503 Decrease likelihood of implicit session leaks
- Closed
-
CSHARP-2188 Decrease likelihood of session leaks
- Closed
-
CXX-1516 Decrease likelihood of implicit session leaks
- Closed
-
GODRIVER-233 Decrease likelihood of implicit session leaks
- Closed
-
MOTOR-197 Decrease likelihood of implicit session leaks
- Closed
-
NODE-1326 Decrease likelihood of implicit session leaks
- Closed
-
PYTHON-1474 Decrease likelihood of implicit session leaks
- Closed
-
RUBY-1300 Decrease likelihood of implicit session leaks
- Closed
- related to
-
SERVER-33158 Logical Session refresh batches are too large
- Closed
-
SERVER-33697 Provide sanity check on number of cached sessions
- Closed