Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-137381ClosedFixed
Remove dynamic_cast to $match from graph code
The benchmark added in SERVER-136156 revealed that the majority of the time is spent in the dynamic_cast. We should amortise the type check like we do for DocumentSourceSingleDocumentTransformation and turn it into a typeid check since $match has no subclasses.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-137447ClosedFixed
Add cap to oplogMinRetentionHours
oplogMinRetentionHours has no upper limit on what you can set it to, and we do a conversion from hours to milliseconds in the code which requires multiplying by 3,600,000. This means a sufficiently large value can cause overflow and should be prevented
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138008ClosedDuplicate
change stream monitors on donors and recipients are blocking on PoS thread pool
change stream monitors on donors and recipients are blocking on PoS thread pool. because of this, multiple concurrent reshardings are limited by the PoS thread pool size on the donor and recipients. if the change stream monitors could execute on their own thread pool or be made to be nonblocking, then multiple concurrent reshardings could be uncapped.
PYTHON-5474ClosedDone
[Test Failure] test.asynchronous.test_retryable_reads.TestRetryableReads.test_retryable_reads_are_retried_on_a_different_mongos_when_one_is_available
h3. *Name of Failure:*
test.asynchronous.test_retryable_reads.TestRetryableReads.test_retryable_reads_are_retried_on_a_different_mongos_when_one_is_available
h3. *Link to task:*
https://spruce.mongodb.com/task/mongo_python_driver_test_win32_test_standard_latest_python3.12_async_auth_ssl_sharded_cluster_patch_59d94f397bb36202a8292d170b6fd80e5a61abf0_688a846e0b9c6300072db923_25_07_30_20_45_35/tests?execution=0&sorts=STATUS%3AASC
h3. *Context of when and why the failure occurred:*
Window
CSHARP-6272Blocked
Migrate macOS 14 tests to macOS 15
This ticket was split from {{DRIVERS-3691}}, please see that ticket for a detailed description.
Components
Evergreen
NODE-7097ClosedFixed
Adopt built-in zstd support in Node.js
h3. Use Case
As a Node.js driver user,
I want zstd compression to use the built-in zstd support in Node.js,
so that I don't have to install additional npm packages for zstd compression to work.
h3. User Experience
* On Node.js 22.15.0+ the driver uses the built-in {{zlib.zstdCompress}} / {{{}zlib.zstdDecompress{}}}. No {{@mongodb-js/zstd}} install is needed.
* On older Node.js versions the driver falls back to {{{}@mongodb-js/zstd{}}}, so existing setups keep working without changes.
Components
Compressorszstd
Fixed Versions
7.8.0
SERVER-136769ClosedFixed
Complete TODO listed in SERVER-130179
There is a TODO in code owned by your team which references a resolved ticket.
The TODO appears in:
* jstests/core_sharding/query/cbr_shard_filter_limit.js:107
* jstests/noPassthrough/query/cbr/multikey_index_seeks_estimation.js:30
* jstests/noPassthroughWithMongod/query/cbr/cbr_approximate_comparator_misuse_bug.js:13
* jstests/noPassthroughWithMongod/query/cbr/cbr_ascending_and_descending_index_intervals.js:12
* jstests/noPassthroughWithMongod/query/cbr/cbr_elem_match_value.js:13
* jstests/noP
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-131875ClosedFixed
Create feature flag
Create the feature flag for this project.
This should cover both featureFlagExtensionCommands and featureFlagExtensionSearchIndexManagement.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-136623ClosedFixed
Add checkpointsValidated metric
It would be great to know the number of checkpoints validated. Also, we can use this metric in JS tests to ensure checkpoints are actually validated.
Fixed Versions
9.1.0-rc09.1.0-rc1025
PYTHON-6195Ready for Work
Automatically file PERF ticket to update pymongo version in DSI on new releases
h3. *Context*
DSI needs to update its pinned PyMongo version on each release.
h3. *Definition of done*
An automated PERF ticket is opened on each PyMongo release tracking the update.
h3. *Pitfalls*
N/A.
SERVER-136156ClosedFixed
Benchmark the cost of graph building and type inference
We need to understand the cost of the type inference used for arrayness checks.
There's at least two cases:
- the public canPathBeArray API being queried which can run inference
- when building the graph, such as for renames where the base field has unknown arrayness.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-133840ClosedGone away
Investigate parallel record store count accuracy
The map-reduce style design for SERVER-127596 will slice up the record store into runs that can be validated in parallel, this may present an issue for maintaining accurate counts of records and data size as the re will need to be some assurance that no records are missed.
It may be needed to open a separate cursor to run a serial count across the entire record store without relying on summation of slices or fast count for correctness.
JAVA-6346Investigating
Stop deriving batchSize from Reactive Streams, when batchSize is not set (Reactive Streams and Kotlin coroutine drivers)
h4. Summary
When the user does not call {{batchSize\(\)}}, the Reactive Streams and Kotlin coroutine drivers derive the wire\-level {{batchSize}} of {{find}}/{{aggregate}} and every {{getMore}} from Reactive Streams demand \({{Subscription.request\(n\)}}\) in {{BatchCursorFlux.calculateBatchSize}}:
The result depends on the consumer, not on anything the user configured:
\* Kotlin coroutine {{collect}}/{{toList}}/{{first\(\)}} \({{asFlow\(\)}} with {{Channel.BUFFERED}}\): {{batchSize: 64}} on
Components
KotlinReactive Streams
JAVA-6282In Progress
Specify and test getMore span nesting in the OpenTelemetry spec
This ticket was split from {{DRIVERS-3598}}, please see that ticket for a detailed description.
Components
Observability
JAVA-6033Investigating
ServerHeartbeatSucceededEvent is not fired for initial POLL monitoring
While working on https://github.com/mongodb/mongo-java-driver/pull/1854 I've noticed that the [test|https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/tests/unified/backpressure-network-error-fail.yml#L46-L52] fails with:
which indicates that {{ServerHeartbeatSucceededEvent}} was not triggered for the initial connection.
We need to ensure consistent event notifications. Applications and monitoring tools that listen for ServerHeartbeatSucceeded
SERVER-137236ClosedFixed
Remove featureFlagTimeSeriesInSbe
Fixed Versions
9.1.0-rc09.1.0-rc1025
NODE-7678Backlog
zstd: replace prebuild-install with per-platform npm packages
Migrate @mongodb-js/zstd off the prebuild-install install script so it installs under npm 12, which blocks dependency install scripts by default.
The driver prefers Node's built-in zstd (NODE-7097) and uses this package only as the fallback, including in the v8 line. The package is not retired, and the fallback must keep working wherever a package manager skips install scripts.
h3. Approach
Same model as kerberos (NODE-7679, the pilot): each prebuilt binary is published as its own packa
Components
zstd
NODE-7680Backlog
mongodb-client-encryption: replace prebuild-install
Migrate mongodb-client-encryption off the prebuild-install install script so it installs under npm 12, which blocks dependency install scripts by default.
h3. Approach
Same model as kerberos (NODE-7679, the pilot): each prebuilt binary is published as its own package, {{@mongodb-js/mongodb-client-encryption-<target>}}, with {{os}}/{{cpu}}/{{libc}} fields. {{mongodb-client-encryption}} lists them as exact-version optional dependencies, so the package manager installs only the matching one a
NODE-7679Backlog
kerberos: replace prebuild-install with per-platform npm packages
Migrate kerberos off the prebuild-install install script so it installs under npm 12, which blocks dependency install scripts by default (pnpm 10 and Bun do the same).
h3. Approach
Per-platform npm packages, as used by esbuild, @swc/core, sharp and @parcel/watcher. Each prebuilt binary is published as its own package, {{@mongodb-js/kerberos-<target>}}, with {{os}}/{{cpu}}/{{libc}} fields. {{kerberos}} lists all of them as exact-version optional dependencies, so the package manager installs