Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-106740ClosedFixed
Add support to change stream readers V2 into ReshardCollectionCoordinator
Change stream readers V2 require Sharding DDL operations to follow a specific sequence of steps and constraints as part of their commit, which includes the generation of pre and post commit op log entries from one of the shards bearing data for the targeted namespace(s).
The objective of this ticket is to adapt the current logic of {{ReshardCollectionCoordinator}} to such constraints.
Fixed Versions
8.3.0-rc0
PYTHON-5990ClosedFixed
Reject Unix domain socket KMS endpoints in client-side field level encryption
{{_EncryptionIO.kms_request}} passes the KMS endpoint surfaced by libmongocrypt straight to {{parse_host(endpoint, 443)}}. {{parse_host}} returns any string ending in {{.sock}} verbatim, skipping the hostname/port validation applied to every other input. {{_create_connection}} (and the async equivalent in {{pymongo/pool_shared.py}}) then treats an address ending in {{.sock}} as a Unix domain socket path and connects to it with {{AF_UNIX}}.
libmongocrypt builds that endpoint from {{masterKey.end
Fixed Versions
4.18.2
PYTHON-5996ClosedFixed
Harden bson buffer size guard against signed-overflow UB on >2GiB encode
h3. Detailed steps to reproduce the problem?
_Include full traceback, if possible_
Encoding a single document whose values' cumulative encoded size exceeds INT_MAX (about 2 GiB) overflows the running buffer position in {{buffer_assure_space}} ({{bson/buffer.c}}).
The overflow guard {{new_size < buffer->position}} depends on signed-overflow wraparound, which is undefined behavior. Compilers in the LLVM family (clang, and clang-based toolchains such as {{zig cc}} and Intel ICX) optimize the c
Components
Security
Fixed Versions
4.18.2
PYTHON-5986ClosedFixed
Don't percent-decode the URI host section before splitting hosts
{{_validate_uri}} and {{_parse_srv}} call {{unquote_plus}} on the entire host section of a connection string before splitting it into individual {{host:port}} entries.
This is the wrong order of operations per RFC 3986, which specifies splitting on delimiters first and percent-decoding the individual components afterward. Because decoding happens first, a percent-encoded {{,}} or {{:}} in the host section becomes a literal delimiter, so a single host entry can expand into multiple entries in th
Fixed Versions
4.18.2
JAVA-6080Defining
EOL Java 8 Support in Java/Scala/Kotlin Driver
We will end-of-life (EOL) Java 8 support by the end of Q1 across the Java, Kotlin, and Scala drivers and raise the minimum supported Java version to Java 17 (LTS).
CSHARP-5616Backlog
Add ability to track usage of AI Frameworks via MEVD
With the restructuring of our Microsoft Semantic Kernel Connector, it has now been decoupled from MSK. For MongoDB Atlas, we had been reporting this as Semantic Kernel usage. With this being renamed to "MEVD" for VectorData Extensions, we need to figure out a way to track what AI frameworks is our extensions package being used with.
*A/C:*
- Add metadata to track usage of AI frameworks with the MongoDB VectorData Extensions
Components
AISemantic Kernel
PYTHON-6207Needs Verification
[Rust core] Spike: back bson encode and decode with Rust and run the full BSON performance suite
h3. *Context*
The C BSON extension ({{_cbson}}) is the repo's least reviewable, most memory-unsafe code. PYTHON-6162 investigates a direct migration of the extension to Rust. The prior spike (PYTHON-5683) found mixed results, and the Rust Native Core prototype has an unexplained 6% to 16% large-document regression. This spike produces that evidence for the BSON layer.
h3. *Definition of done*
- A Rust-backed codec ({{_rbson}} extension, {{rust/bson}} crate) exposes the {{_cbson}} entry
SERVER-136017ClosedFixed
Remove graceful stepdown gating in placement_conflict_time.js
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-132481ClosedFixed
Quiesced resharding operations can cause conflicts during retries of ongoing operations
For a resharding operation with a user specified UUID, that operation will remain in a quiesce state for [reshardingCoordinatorQuiescePeriodMillis|https://github.com/mongodb/mongo/blob/b9beb4ab132a1d895daf49e980dd18ba860e34c6/src/mongo/db/s/resharding/resharding_server_parameters.idl#L383-L396] which defaults to 15 minutes. While an operation is in this state, a failover of the config server will cause the coordinator to be "re-executed" in order to mark it again as completed and waiting for qui
Affected Versions
7.2.08.0.09.0.0-rc08.3.0
Fixed Versions
9.1.0-rc09.0.0-rc2
SERVER-39811ClosedFixed
Add a threshold of the total size of buffered oplog entries in a transaction and make it tunable, defaulting to unlimited
Components
Replication
Fixed Versions
4.1.12
SERVER-136551ClosedFixed
Make quotas set on $out stage take into account size of existing collection
SERVER-97833 adds quotas to $out aggregation stages. This will cause it to throw if the data written exceeds the quota size. This ticket is to take into account the size of the existing collection so that it only throws if the increase in size exceeds the quota. In other words, the effective quota should be the passed in quota plus the size of the collection being replaced.
Fixed Versions
9.1.0-rc1025
NODE-7937Needs Review
[Mastra] add reranker support to hybridQuery()
h2. TL;DR
Add {{MongoDBVector.hybridQuery()}} with separate vector, text, and optional reranking configurations. Support caller-generated and automatic embeddings, expose independent retrieval limits, and default native reranking to {{{}rerank-3{}}}. Leave existing search APIs unchanged.
h2. Context
Mastra's MongoDB integration supports searching by meaning through vector search and by keywords through full-text search. Hybrid search combines these results into one ranked list using Mongo
Components
ABX
SERVER-138518ClosedFixed
Bump db-contrib-tool version to 2.5.1
Enable the new version of db-contrib-tool in the MongoDB repo.
Fixed Versions
9.1.0-rc09.1.0-rc1025
NODE-7965Needs Review
[Mastra] BYOC SDAP Remediation
Remediate the findings from the SDAP assessment (NODE-7739) on the BYOC feature
Findings doc: https://docs.google.com/document/d/1wAAkAlg_AWm5xsms7naQbvQkTdyC8p7bKric0gITBTk/edit?tab=t.grsdagdvs1fy#heading=h.sy2qbutipzhb
Components
ABX
NODE-7967Needs Review
[Mastra] Support native vector search pre-filtering in BYOC
h2. TL;DR
Mastra's MongoDB store can apply metadata filters inside Atlas Vector Search (native pre-filtering) when you list the filter fields in {{{}filterFields{}}}. That works on collections Mastra manages. It does not work on a bring-your-own collection (BYOC), where Mastra indexes your existing operational collection. Make {{filterFields}} work there too.
h2. Context
Mastra is a TypeScript framework for building AI agents. Its MongoDB store can keep vectors in a collection it manages,
Components
ABX
SERVER-137322ClosedFixed
Disconnecting an LDAP connection after a timed-out SASL bind can deadlock all SASL authentication
h3. Problem
SERVER-130785 added a {{disconnect()}} call in {{LDAPRunnerImpl::getConnectionWithOptions}} after any failed bind:
If the bind timed out ({{ldapTimeoutMS}}), {{PooledLDAPConnection::runFuncWithTimeout}} has returned {{NetworkTimeout}}, but the bind is still running on an LDAPConnPool thread. {{WrappedConnection::disconnect()}} skips the timeout wrapper and hands the same {{LDAP*}} to the LDAPConnectionReaper, which calls {{ldap_unbind_ext_s}} while the bind is still using it.
Wi
Affected Versions
8.3.97.0.418.0.309.0.0-rc2
Fixed Versions
9.1.0-rc08.3.169.0.78.0.377.0.48
SERVER-138565ClosedFixed
Refuse to persist stats on local collections
Local collections are not replicated. This presents an issue when persisting a sample for one, since the persistent samples collection is replicated and analyze can only be run on the primary. We should prevent persisting samples for them.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-133199ClosedDone
Investigate for duplicate validation check under kExtended
check if validation under kExtended [src/mongo/bson/bson_validate.cpp |https://github.com/10gen/mongo/blob/f92eb82c921fc9bd5d49ddefd2d203d28de66f1a/src/mongo/bson/bson_validate.cpp#L112] is even required.
Currently, it seems like we're doing a redundant check here since we already validate prior to this (see: [validate_adaptor.cpp|https://github.com/10gen/mongo/blob/master/src/mongo/db/validate/validate_adaptor.cpp], where mongod --validate calls validateBSON() on each record, getBSONValidat