You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/changelog.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,9 @@ PyMongo 4.17 brings a number of changes including:
9
9
- Added the :meth:`~pymongo.asynchronous.client_session.AsyncClientSession.bind` and :meth:`~pymongo.client_session.ClientSession.bind` methods
10
10
that allow users to bind a session to all database operations within the scope of a context manager instead of having to explicitly pass the session to each individual operation.
11
11
See <PLACEHOLDER> for examples and more information.
12
+
- Added support for MongoDB 's Intelligent Workload Management (IWM) and ingress connection rate limiting features.
13
+
The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability.
14
+
See <DOCSP-55426> and <DOCSP-57078> for more information.
client to use Stable API. See `versioned API <https://www.mongodb.com/docs/manual/reference/stable-api/#what-is-the-stable-api--and-should-you-use-it->`_ for
616
615
details.
617
616
618
-
| **Adaptive retry options:**
619
-
| (If not enabled explicitly, adaptive retries will not be enabled.)
617
+
| **Overload retry options:**
620
618
621
-
- `adaptive_retries`: (boolean) Whether the adaptive retry mechanism is enabled for this client.
622
-
If enabled, server overload errors will use a token-bucket based system to mitigate further overload.
619
+
- `max_adaptive_retries`: (int) How many retries to allow for overload errors. Defaults to ``2``.
620
+
- `enable_overload_retargeting`: (boolean) Whether overload retargeting is enabled for this client.
621
+
If enabled, server overload errors will cause retry attempts to select a server that has not yet returned an overload error, if possible.
623
622
Defaults to ``False``.
624
623
625
624
.. seealso:: The MongoDB documentation on `connections <https://dochub.mongodb.org/core/connections>`_.
626
625
627
626
.. versionchanged:: 4.17
628
-
Added the ``adaptive_retries`` URI and keyword argument.
627
+
Added the ``max_adaptive_retries`` and ``enable_overload_retargeting`` URI and keyword arguments.
629
628
630
629
.. versionchanged:: 4.5
631
630
Added the ``serverMonitoringMode`` keyword argument.
0 commit comments