Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
PYTHON-5872ClosedDone
mongo-python-driver - PR #2857: PYTHON-1894: Client-side errors in in-progress transactions must not change transaction state
[sophiayangDB|https://github.com/sophiayangDB] has created [PR #2857: PYTHON-1894: Client-side errors in in-progress transactions must not change transaction state|https://github.com/mongodb/mongo-python-driver/pull/2857] in [mongo-python-driver|https://github.com/mongodb/mongo-python-driver]
_Issue Text:_
PYTHON-1894
## Changes in this PR
Followed the design used by the Node driver. Transactions are only advanced from STARTING -> IN_PROGRESS after the first operation reaches the server res
SERVER-138566In Code Review
Update mozjs-upgrade agent skills
Update mozjs-upgrade-* agent skills with any discrepancies in the mozjs upgrade process and missing information that's discovered during this project.
PYTHON-5610ClosedGone away
[BuildFailure] TestUnifiedFindOneAndUpdateErrorResponse::test_findOneAndUpdate_DuplicateKey_error_is_accessible
h3. *Context*
*Occurred on: test-server-version-python3.10-async-auth-ssl-sharded-cluster-cov*
[Failing Task|[https://spruce.mongodb.com/task/mongo_python_driver_mongodb_v8.0_test_server_version_python3.10_async_auth_ssl_sharded_cluster_cov_patch_52400e11a1ac69bcc89dfe5a034df00a4a7f690c_68e5572220150a0007f48037_25_10_07_18_09_10/logs?execution=0]]
{code:java}
[2025/10/07 14:44:01.674] Timeout (0:25:00)!
[2025/10/07 14:44:01.674] Thread 0x00007f7227fff700 (most recent call first):
[2025
PYTHON-5590ClosedDone
Update pymongocrypt README to remove reference to setup.py
h3. *Context*
{color:#505f79}Pymongocrypt's README recommends `python setup.py test` to run the tests, but there is no longer a setup.py file.{color}
h3. *Definition of done*
{color:#505f79}Either remove or update the instructions{color}
h3. *Pitfalls*
{color:#505f79}Running the tests requires a lot of setup.{color}
Components
Infrastructure
SERVER-138187Backlog
Update FSM tests to run concurrent resharding operations
almost all the current FSM concurrency workloads do not test concurrent reshardings because they only allow thread 0 to issue resharding operations. we want to test concurrent resharding as of SERVER-136621, so we should update these tests to remove the constraint that only a single thread issues resharding operations, and we should consider writing a new test with higher weights on the threads issuing resharding operations.
we also want to update the tolerance towards accepting the {{Conflic
PYTHON-5338Blocked
Performance degradation of 31% in GridFsUpload of perf-8.0-standalone-ssl-async
h3. *Context*
We saw significant degradation in performance of this benchmark test.
Splunk
APP 11:03 PM
New change point from 2025-03-31T20:06:31+00:00
PYTHON-4471 - Logging records should have a standard field order (#2247) [CI Link|https://spruce.mongodb.com/task/mongo_python_driver_performance_benchmarks_perf_8.0_standalone_ssl_async_4bffc4e492d6e5153366f8a4a36305b6f6d8c512_25_03_31_20_06_31/trend-charts?execution=1]
Project: mongo-python-driver
Variant: performance-benchmarks
T
PYTHON-5380ClosedGone away
Test Failure (Windows) - test.asynchronous.test_encryption.AsyncTestSpec.test_legacy_timeoutMS_remaining_timeoutMS_applied_to_find_to_get_keyvault_data
test.asynchronous.test_encryption.AsyncTestSpec.test_legacy_timeoutMS_remaining_timeoutMS_applied_to_find_to_get_keyvault_data
https://evergreen.mongodb.com/task_log_raw/mongo_python_driver_encryption_win64_test_non_standard_v8.0_python3.12_noauth_nossl_standalone_patch_2655bb4d864daeeb73cd5af0c5499c6a0874b590_681e08d75668e00007df8859_25_05_09_13_53_36/0?type=T
Fails due to the retry attempt of {{list_collections}} being cancelled by a failed heartbeat rather than timing out as expected.
Components
greenerbuild
PYTHON-5351Blocked
Enable debug logs on Evergreen test suite by default
h3. *Context*
With PYTHON-5292 completed, we now only output debug logs on test failure. Enabling debug logs by default across our Evergreen test suite will allow us to more reliably and easily troubleshoot failures, instead of having to enable debug logs on a patch build and hope an identical failure occurs.
h3. *Definition of done*
Debug logs should be enabled by default on Evergreen test runs.
h3. *Pitfalls*
We need to have a subset of our Evergreen tests not enable debug logs by def
PYTHON-4927ClosedWon't Do
Add missing CSOT prose tests
We are missing several prose tests specified here: https://github.com/mongodb/specifications/blob/master/source/client-side-operations-timeout/tests/README.md#prose-tests
We've implemented the client.bulkWrite test, but not most of the others. Implementing the rest to give us better CSOT test coverage is necessary.
PYTHON-4738ClosedGone away
Test Failure - test_encryption.TestClientSimple.test_fork
Starting with PYTHON-4673, test.test_encryption.TestClientSimple.test_fork is has been failing:
{code}
[2024/09/02 11:31:59.618] FAILURE: AssertionError: child timed out after 60s (see traceback in logs): deadlock? ()
[2024/09/02 11:31:59.618] self = <test.test_encryption.TestClientSimple testMethod=test_fork>
[2024/09/02 11:31:59.618] @unittest.skipIf(
[2024/09/02 11:31:59.618] not hasattr(os, "register_at_fork"),
[2024/09/02 11:31:59.618] "register_at_fork not av
PYTHON-4844ClosedGone away
Skip async test_encryption.AsyncTestSpec.test_legacy_timeoutMS_timeoutMS_applied_to_listCollections_to_get_collection_schema
The test is flakey and inconsistent, will revisit after PYTHON-4493 is complete.
PYTHON-1149Backlog
Remove _condition_class, _monitor_class, and _pool_class hooks
PyMongo can simplify some internals by removing the hooks created for Motor. They're not used beginning with Motor 0.7 (MOTOR-112). This can be done without fear of breaking dependencies: Motor before 0.7 requires PyMongo 2.8.0 exactly, and other applications shouldn't have used the hooks because they were undocumented and surrounded with code comments telling third parties not to use them.
PYTHON-4440ClosedWon't Do
Remove explicit asyncio loop and thread usage from pyopenssl_context
h3. *Context*
{color:#505f79}the current async implementation of pyopenssl_context uses an explicit asyncio loop. This is discouraged by best async practices and should be avoided whenever possible. We should also avoid using threads, as doing so would not scale with more connections being opened.{color}
[Aioopenssl's implementation|https://github.com/horazont/aioopenssl/blob/8f250c0d4a772ed9e58a5668bdf9872fa689df5d/aioopenssl/__init__.py#L348] avoids using an explicit loop. We should foll
PYTHON-3916Backlog
Deprecate GridFS fields
This ticket was split from {{DRIVERS-2656}}, please see that ticket for a detailed description.
Components
New Spec
Fixed Versions
5.0
PYTHON-4259Ready for Work
Move Periodic Executors Docs
h3. *Context*
Since we are moving off of ReadTheDocs, we need to decide what to do with doc/developer/periodic_executor.rst. We could either move it to a user-facing doc (marked as Reference), fold it into CONTRIBUTING.md, or move it to an internal Wiki.
h3. *Definition of done*
Periodic Executor Docs are Migrated.
h3. *Pitfalls*
N/A
PYTHON-4064Backlog
Remove Deprecated GridFS Fields
This ticket was split from {{DRIVERS-2656}}, please see that ticket for a detailed description.
Components
New Spec
Fixed Versions
5.0
PYTHON-3794ClosedWon't Do
Refactor cursor-returning functions to internally use runCursorCommand
PYTHON-3888ClosedWon't Do
Ensure pyright passes on the entire codebase
We currently run pyright on just two test files rather than the entire codebase. There are many pyright type failures in the codebase that should be addressed for better typing coverage.
SERVER-139279ClosedFixed
Propagate standalone SpiderMonkey API declarations
Add JS_STANDALONE=1 to the public defines for mozjs in src/third_party/mozjs/BUILD.bazel, alongside STATIC_JS_API=1. SpiderMonkey's MFBT headers require both settings to declare static-library APIs correctly; without JS_STANDALONE, Windows consumers declare DLL imports. The definition matches the existing generated standalone configuration on every supported platform.
Extracted from #66298 for review by query-integration-features. Based directly on master and independent of the other team fixes
Components
Bazel
Fixed Versions
9.1.0-rc09.1.0-rc1026