Noah Stapp
065e28202a
AC review
2026-04-13 16:24:11 -04:00
Noah Stapp
02201d24e7
AC review
2026-04-13 15:01:52 -04:00
Noah Stapp
49302f9e7a
AC + CP review
2026-04-13 14:17:42 -04:00
Noah Stapp
2bf2502fb6
CP review
2026-04-13 13:08:05 -04:00
Noah Stapp
0948cdffc8
CP review
2026-04-13 11:36:31 -04:00
Noah Stapp
863704e749
Merge branch 'master' into backpressure
2026-04-13 11:08:41 -04:00
Noah Stapp
d864822d72
PYTHON-5788 - Refine withTransaction timeout error wrapping semantics… ( #2745 )
2026-04-13 11:07:37 -04:00
Noah Stapp
02320d68e7
PYTHON-5767 - Finalize client backpressure implementation for phase 1… ( #2742 )
2026-04-13 10:39:48 -04:00
Jeffrey 'Alex' Clark
13085ff679
PYTHON-5758 Remove unused validation functions ( #2733 )
2026-03-18 13:19:18 -04:00
Noah Stapp
a7fc68f3ee
SH + CP review
2026-03-13 10:21:59 -04:00
Noah Stapp
37243035ac
Merge branch 'master' into backpressure
2026-03-12 15:40:57 -04:00
Noah Stapp
0a47a19e13
PYTHON-5752 - Only retry overload errors if retries are enabled ( #2726 )
2026-03-12 15:35:08 -04:00
Noah Stapp
cc5b9c4443
PYTHON-5716 - Clarify expected error if backoff exceeds CSOT's deadli… ( #2719 )
2026-03-10 12:24:53 -04:00
Noah Stapp
f533157981
Python 4542 - Improved sessions API ( #2712 )
2026-03-05 09:04:37 -07:00
Noah Stapp
359ddfaad7
PYTHON-5741 - Transaction state is preserved across retries ( #2718 )
2026-03-04 10:07:54 -08:00
Noah Stapp
e7a5247bed
PYTHON-5528 - Token buckets disabled by default ( #2713 )
...
Co-authored-by: Sergey Zelenov <mail@zelenov.su>
2026-02-26 09:59:44 -08:00
Noah Stapp
84814b2a72
PYTHON-5731 - Server selection deprioritization only for overload errors on replica sets ( #2710 )
2026-02-23 13:18:24 -05:00
Steven Silvester
36676384bd
PYTHON-5705 Improve fallback for PyOpenSSL windows system certs loading ( #2688 )
2026-02-09 19:39:05 -06:00
Steven Silvester
9c70be4b7a
Merge branch 'master' of github.com:mongodb/mongo-python-driver into backpressure
2026-02-04 12:15:36 -06:00
Steven Silvester
8dbf90372b
PYTHON-5528 & PYTHON-5651 Add exponential backoff to operation retry loop for server overloaded errors ( #2635 )
...
Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
2026-02-04 12:12:42 -06:00
Noah Stapp
543c4e532c
PYTHON-1357 - Refactor Cursor and CommandCursor ( #2691 )
2026-02-02 08:47:26 -05:00
Steven Silvester
84699d284b
Merge branch 'master' of github.com:mongodb/mongo-python-driver into backpressure
2026-01-14 10:41:43 -06:00
mongodb-dbx-release-bot[bot]
cb01da6a50
BUMP 4.17.0.dev0
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2026-01-07 18:10:24 +00:00
Jeffrey A. Clark
32901018ca
Prepare 4.16.0 release ( #2672 )
2026-01-07 12:03:02 -05:00
Jeffrey A. Clark
fdb1f7ea4a
PYTHON-5677 Prevent ClientEncryption from loading crypt shared library ( #2659 )
...
Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
2025-12-29 17:16:34 -05:00
Steven Silvester
c930c69776
PYTHON-5566 & PYTHON-3132 Add minimum version checks for remaining test variants ( #2650 )
2025-12-19 13:14:52 -06:00
Steven Silvester
029c74cb3a
PYTHON-5670 Restore minimal support for Python 3.9 ( #2640 )
2025-12-16 13:32:40 -06:00
Noah Stapp
0cfba4994d
PYTHON-5662 - Add support for server selection's deprioritized servers to all topologies ( #2639 )
2025-12-16 12:21:45 -05:00
Steven Silvester
27ac7bd717
PYTHON-2517 Remove any Jython specific code or workarounds ( #2641 )
2025-12-12 12:36:11 -06:00
mongodb-dbx-release-bot[bot]
a9923507c5
BUMP 4.16.0.dev1
...
Signed-off-by: mongodb-dbx-release-bot[bot] <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>
2025-12-11 00:32:47 +00:00
dependabot[bot]
49e59d41b2
PYTHON-5661 Bump mypy from 1.18.2 to 1.19.0 ( #2629 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2025-12-10 10:37:29 -06:00
Iris
88f05fae8d
PYTHON-5518: withTransaction API retries too frequently ( #2600 )
...
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 14:28:33 -08:00
Casey Clements
8bf8263391
PYTHON-5656: Fixes broken link to aggregation pipeline docs. ( #2627 )
2025-12-01 15:15:09 -05:00
Cal Jacobson
222a55f8cd
PYTHON-5653: fix - correct return type annotation for find_one_and_* methods to include None ( #2615 )
...
Co-authored-by: Jib <jib.adegunloye@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
2025-11-25 15:36:33 -05:00
Kevin Albertson
3d76c84b2a
PYTHON-5647 remove redundant entry for *.mongodbgov.net ( #2625 )
2025-11-25 14:27:28 -06:00
Steven Silvester
0010325aa8
PYTHON-5536 Avoid clearing the connection pool when the server connection rate limiter triggers ( #2509 )
...
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
Co-authored-by: Noah Stapp <noah.stapp@mongodb.com>
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PYTHON-5629 Increase max overload retries from 3 to 5 and initial delay from 50ms to 100ms (#2599 )
PYTHON-5517 Simplify pool backpressure behavior (#2611 )
synchro
update network_layer
update pool shared
update pool shared
update run-tests
2025-11-24 12:13:40 -06:00
Shane Harvey
c6526f8411
PYTHON-5504 Prototype exponential backoff in with_transaction ( #2492 )
...
PYTHON-5505 Prototype system overload retry loop for all operations (#2497 )
All commands that fail with the "Retryable" error label will be retried up to 3 times.
When the error includes the "SystemOverloaded" error label we apply exponential
backoff with jitter before attempting a retry.
PYTHON-5506 Prototype adaptive token bucket retry (#2501 )
Add adaptive token bucket based retry policy.
Successfully completed commands deposit 0.1 token.
Failed retry attempts consume 1 token.
A retry is only permitted if there is an available token.
Token bucket starts full with the maximum 1000 tokens.
PYTHON-5505 Use proper RetryableError and SystemOverloadedError labels
2025-11-24 11:27:39 -06:00
Noah Stapp
42cf3407c8
PYTHON-5642 - getMore operations should do server selection if the server is unknown ( #2621 )
2025-11-24 11:43:48 -05:00
Kevin Albertson
a9c034426b
PYTHON-5647 extend ALLOWED_HOSTS ( #2618 )
2025-11-21 10:33:18 -06:00
Rogdham
f278e471d1
PYTHON-5522: Support std lib zstandard in 3.14 ( #2592 )
2025-10-31 16:14:14 -05:00
Noah Stapp
5f00966f9c
[TASK]-[PYTHON-5623]: Change with_transaction callback return type to Awaitable ( #2594 )
...
Co-authored-by: Logan Pulley <logan@pulley.host>
2025-10-29 14:31:25 -04:00
Steven Silvester
a2e39ada00
PYTHON-5596 Fix return type for distinct methods ( #2576 )
2025-10-07 11:04:16 -05:00
Noah Stapp
d47bd9cf95
PYTHON-5024 - Add 3.14t as a standard Python matrix version ( #2563 )
2025-10-03 13:03:07 -04:00
Steven Silvester
b291807106
PYTHON-5587 Remove check for dnspython version ( #2566 )
2025-09-30 11:39:51 -05:00
Steven Silvester
e0767cf5a1
PYTHON-5479 Drop support for Python 3.9 ( #2562 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
2025-09-26 09:54:19 -05:00
Steven Silvester
0d93ec48a5
PYTHON-5573 Require dnspython 2.6.1+ ( #2559 )
2025-09-25 13:09:33 -05:00
Noah Stapp
9e64ed1bd8
PYTHON-4755 - Stop supporting and testing against Eventlet ( #2557 )
2025-09-24 14:07:51 -04:00
Noah Stapp
0049dc8896
PYTHON-2390 - Retryable reads use the same implicit session ( #2544 )
2025-09-24 13:23:28 -04:00
Steven Silvester
6fe85436ae
PYTHON-3414 Improve error message when using incompatible dependencies ( #2549 )
2025-09-22 17:15:02 -05:00
Noah Stapp
668bd8232a
PYTHON-2391 - Ensure retries do not use duplicate command payloads ( #2545 )
2025-09-17 16:52:00 -04:00