Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-133416In Code Review
Accept access tokens with typ at+jwt
Tokens presented to MongoDB server during MONGODB-OIDC authentication may optionally include a {{typ}} claim in the header. If {{typ}} is provided, MongoDB server enforces that it must be set to "jwt" since that is the only type of token that the server recognizes.
Per RFC 9068, some IdPs issue JWT-formatted access tokens with typ set to {{{}at+jwt{}}}. Given that these tokens are effectively identical to the JWTs that the server is already able to accept, we should accept {{at+jwt}} as well
SERVER-133810Needs Merge
Clarify error message in server parameter parsing
[This error code|https://github.com/10gen/mongo/blob/ae096ce9e88405c811ba99351878581eca21b6a2/src/mongo/util/options_parser/options_parser.cpp#L726-L743] that is run when parsing a server parameter checks if the value of an element is a "list" or a "map". If so, it returns an error statement. The error message that is returned as a result is misleading and should be reworded to:
# Include the key and value of the failing element
# Not mention "map" as that does not exist in the BSON world
SERVER-137900In Code Review
Suppress LSAN leak in system GSSAPI library on master
h2. Overview
Add an LSAN suppression for {{gss_acquire_cred_from}} to {{etc/lsan.suppressions}} on master.
h2. Background
SERVER-137322 added {{{}ldap_gssapi_bind_timeout_sasl_deadlock.js{}}}, which runs a shell client that authenticates with GSSAPI. The system GSSAPI library leaks the credentials it acquires during client-side GSSAPI authentication, so LSAN reports a leak on sanitizer variants.
h2. Scope of Work
Add the following entry to {{{}etc/lsan.suppressions{}}}:
h2. Accepta
SERVER-137653Open
ssl_cert_selector_apple.js and ssl_linear_macos require x509 certs/keychain entries that macOS 15 CI hosts do not have
h2. Problem
On the macOS 15 distros (DEVPROD-45657 / SERVER-137597) every macOS variant fails {{ssl}} (1 test) and {{ssl_linear_macos}} (whole suite) because the hosts have no jstests x509 material:
* {{jstests/ssl/ssl_cert_selector_apple.js}}: {{security find-certificate -c "Trusted Kernel Test Server" -Z}} exits 44 (not found) — the Kernel Test certs are not in any keychain.
* {{jstests/ssl_linear/*}}: {{buildscripts/resmokeconfig/suites/ssl_linear_macos.yml}} passes {{sslCAFile: /opt/x509/m
SERVER-114234Backlog
Support collectionless aggregates in the extensions API
We should support collectionless aggregate stages in the extensions API. This will require propagating {{isIndependentOfAnyCollection}} and possibly also {{generatesOwnDataOnce}} in the stage's static properties.
There are no known external use cases for this currently, but it would be helpful for internal testing so that we can create stages similar to $documents. It would also future-proof in case an external need for this type of stage arises.
SERVER-107866ClosedFixed
Remove C++ SDK dependency on StringData
Use std::string_view instead. This helps make one step towards SERVER-107651.
Fixed Versions
8.3.0-rc0
GODRIVER-4173Blocked
Configurable DNS domain validation for SRV records: clarifications
This ticket was split from {{DRIVERS-3664}}, please see that ticket for a detailed description.
Components
Connection String & URI Options
SERVER-137306Backlog
Expose cluster topology to extensions
Search needs to know whether the cluster that mongot serves is sharded. If mongot's syncSource.router setting doesn't match the cluster's actual topology, mongot can silently delete existing search indexes or create duplicate catalog collections in {{__mdb_internal_search}}. For example, this happens when a replica set is converted to a sharded cluster but mongot's config isn't updated accordingly. CLOUDP-404954 adds a catalog access guard that blocks catalog access when the configuration and to
SERVER-132721Backlog
Require LiteParserOptions in all nested-pipeline lite-parsed stage constructors
The problem is that a stage can end up with a null context, and we may make the wrong decision based on this missing context wrt ifr flag features.
It was the root cause of the {{$lookup}} failure investigated under SERVER-132516: {{LiteParsedLookUp::getIfrContext()}} was always
null because {{{}LiteParsedLookUp{}}}'s constructor used the no-options single-pipeline
overload. Fixed there by adding an options-taking variant and threading {{options}}
through, but only for {{{}$lookup{}}}.
h
SERVER-131798Backlog
Implement validate() for extensions in the extensions API
h2. Summary
Add a client-type-aware \{{validate()}} entrypoint to the Extensions API so an extension can reject
its own internal-only fields when supplied by an external client (field-level analog of the existing
stage-level \{{get_client_type}}).
h2. Background
CVE-261 ([SERVER-126247|https://jira.mongodb.org/browse/SERVER-126247]) hardened native
{\{$search}}/\{{$searchMeta}} parsing to reject router-only _internal fields_ (\{{mongotQuery}},
{\{mergingPipeline}}, \{{metadataMergeP
SERVER-130025Backlog
Add tassert validating constraints for HostTypeRequirement::kCollectionlessSourceRunOnceAnyNode
HostTypeRequirement::kCollectionlessSourceRunOnceAnyNode (formerly kRunOnceAnyNode) has a semantic invariant that should be enforced programmatically: stages using this host type are supposed to provide their own data and be independent of any collection, which means requiresInputDocSource == false and isIndependentOfAnyCollection == true.
There is an exception: the $lookup *subpipeline* code path hits kCollectionlessSourceRunOnceAnyNode with requiresInputDocSource == true. We should add a ta
SERVER-135573ClosedDuplicate
Add a server parameter that disables internode hash validation
This is required for the repair procedure when we have absent collection hashes
SERVER-116146Backlog
Adopt CRTP on SDK AstNode and ParseNode
To avoid having to implement an identical `clone()` on every test implementation of AstNode and ParseNode, we should add a curiously-recursive templating pattern (CRTP) to the SDK for these classes.
SERVER-115503 has an example of how to do this for `LiteParsedDocumentSource`.
[https://github.com/10gen/mongo/pull/45657#discussion_r2658387022]
SERVER-112254Backlog
Move sdk aggregation stage function implementations to source file
Some function implementations in `sdk/aggregation_stage.h` are long and better suited for declaration in the header file and definition in the source file. Move these larger functions to the respective source file, e.g., parse_node.cpp.
SERVER-112105Backlog
Split up sdk/tests/aggregation_stage_test.cpp into separate files
Move the tests in sdk/tests/aggregation_stage_test.cpp to sdk/aggregation_stage/tests/ and split up the tests into sdk_parse_node_test.h and sdk_ast_node_test.h.
Investigate if additional test files are needed.
Also, as part of this change, use the mongo::extension namespace in the tests instead of just mongo.