Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-139207Backlog
Create playbook entries for when to use the knobs available for primary driven index builds.
Across SPM-4215 and SPM-4469 we introduced a number of knobs:
* setParameter primaryDrivenIndexBuildIndexInsertionBatchSize
* setParameter primaryDrivenIndexBuildIndexInsertionBatchBytes
* setParameter primaryDrivenIndexBuildSorterInsertionBatchSize
* setParameter primaryDrivenIndexBuildSorterInsertionBatchBytes
* setParameter primaryDrivenIndexBuildPrefetching
* indexBuildSpillingMinAvailableDiskSpaceBytes
* primaryDrivenIndexBuildScanPhaseContainerWriteMBperSec
* primaryDrivenIndexBu
SERVER-137302ClosedFixed
Return stub errors for unregistered extension commands
Parse {{stubCommands}} at startup. Add a new error code, and return it at the mongod and mongos {{CommandNotFound}} chokepoints, including for explain. No extension is needed; use the test stub file.
As part of this ticket, we should also consider how the 'featureFlag' field is no longer restricted to only IFR.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138119ClosedFixed
Allow only system users to use readConcern afterOpTime
Fixed Versions
6.0.305.0.354.4.329.1.0-rc08.3.169.0.78.0.377.0.489.1.0-rc1026
SERVER-138185Needs Scheduling
Mark collection validator type info as used only if it made an actual difference for type inference
For example, suppose we have a schema constraint that says "a.b" is not an array, but there is also an index on "a.b" that gives us the same information. When the schema constraint is modified in some way, we shouldn't have to kill queries that relied on 'a.b' not being an array because the same fact can be obtained from index metadata.
This would probably involve exposing some API to the dependency graph from expCtx or SchemaTypeInfo that allows the graph to mark SchemaTypeInfo as used
SERVER-116331Backlog
Reconsider the logical sessions cache design
Reference: [https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/README_sessions_and_transactions.md#periodic-cleanup-of-the-session-catalog-and-transactions-table]
In https://jira.mongodb.org/browse/SERVER-94001, we had a comment suggesting that we revisit the design of this component. That ticket has been closed as we have made a tactical fix to remediate the issue of the ticket, however, we may still want to revisit the design of this component as a whole, as the local in-memory vie
SERVER-115981ClosedFixed
Clear succeeded sessions from active sessions in LogicalSessionCacheRefresh even if some shard updates failed
Follow up from [https://jira.mongodb.org/browse/SERVER-94001], in addition to continuing the refresh process after some refreshes fail, report which batches were succeeded and failed, so that ones that were successfully refreshed can be removed from the _activeSessions cache. This will fix the underlying problem in the help tickets, even if sessions are not explicitly ended.
Fixed Versions
8.3.0-rc0
SERVER-133851ClosedWon't Do
Documentation Updates
This ticket is to update all types of documentation API Guide,
Programming Guide, and Architecture Guide related to the project.
GODRIVER-3954Needs Triage
Implement the ServerError interface for ClientBulkWriteException
h3. *Context*
{{ClientBulkWriteException}} does not implement the full {{ServerError}} interface. As a result, {{errors.As(err, &serverErr)}} returns {{false}} for a client bulk write error, and the idiomatic server-error detection path. Its unclear why there wouldn't be parity with {{BulkWriteEception}}.
h3. *Definition of done*
* Implement {{ServerError}} interface for {{ClientBulkWriteException}}
* Update documentation for {{IsDuplicateKeyError}}, {{IsNetworkError}}, and {{IsTimeout}} t
Components
Bulk APIError Handling
SERVER-138942Needs Scheduling
Retry counter is reset on every iteration in ShardingCatalogManager::createDatabase()
I found a logical error in {{ShardingCatalogManager::createDatabase()}} in MongoDB 8.0.9:
[https://github.com/mongodb/mongo/blob/r8.0.9/src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp#L207-L242]
In this method, the {{retries}} variable is initialized to 10 inside the {{while (true)}} loop:
{{while (true) \{
// ...
auto retries = 10;
try {
return _commitCreateDatabase(opCtx, dbName, candidatePrimaryShardId);
} catch (const ExceptionFor<
Affected Versions
8.0.9
SERVER-139103ClosedFixed
Disable replicated size and count for FSM workloads manually running upgrade/downgrade
The test runs upgrade/downgrade repeatedly which loses replicated size and count accounting.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138750Backlog
Investigate excluding off-CPU time from ticket delinquency metrics and instead tracking it in a separate metric
See SERVER-135763
SERVER-99527ClosedFixed
Time-series measurement deletes can cause bucket minTime to differ from _id time
{panel:title=Issue Status as of August 7, 2025|borderColor=#cccccc|titleBGColor=#6cb33f|bgColor=#eeeeee}
*ISSUE DESCRIPTION AND IMPACT*
Performing a delete with a non-metaField filter on a time-series collection followed by inserts on an adjacent timeField time range can cause the following for the data inserted after the delete:
* TTL deletion prematurely expires the data.
* Incomplete query results for queries filtering on time.
This may happen if:
A specific index is present at th
Affected Versions
7.0.08.0.0
Fixed Versions
8.1.0-rc08.0.47.0.16
SERVER-134872ClosedFixed
Fix localhost exception remaining active after $external user creation
In a auth-enabled server bound to localhost, the localhost exception allows an unauthenticated user to run a tiny set of commands (e.g. createUser and createRole) in order to bootstrap the server and create the initial set of users. Under this mode, a {{createUser}} command is permitted if the authentication database is either "admin" or "$external" (see {{AuthorizationSessionImpl::_getDefaultPrivileges}} in [authorization_session_impl.cpp|https://github.com/10gen/mongo/blob/f9d5af03b27b1869dcb5
Fixed Versions
9.1.0-rc09.1.0-rc10258.3.169.0.78.0.377.0.48
SERVER-138331In Code Review
Codegen to create metrics structs (<file>_metrics_gen.h/cpp and metrics_sections.idl)
h2. Overview
The IDL-compiler slice of the unified metrics framework (epic SPM-4962): a milestone-1 grammar subset with codegen for metrics structs, the section catalog, and serverStatus rendering. Constructs from later milestones are hard parse errors, so nothing is silently ignored.
h3. Grammar
* Three top-level blocks: {{metrics_section}}, {{metrics_structs}}, and {{metrics}} (a fragment attached to a section root).
* Node forms: leaf ({{kind}} + {{cpp_type}}), group ({{fields}}), and moun
SERVER-139105In Code Review
IDL enums should expose a generated list of all their values
IDL generates C++ enums with serialize and deserialize helpers, but gives no way to iterate over their values. Any code that needs every enumerator, such as an exhaustive test, has to keep a hand-written list that can drift from the {{.idl}} file.
This came up in review of SERVER-137418. The recipient transition validation test checks every {{(from, to)}} pair of {{RecipientStateEnum}} against the edge table. To do that it keeps two hand-maintained pieces:
* {{{}allStates{}}}, an array of a
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138039ClosedFixed
Add observability for plans where ConsumeAllOrderInsensitive is true
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138204ClosedFixed
Add JS test for per-collection size and count DDL in steady state
There are two interesting cases to test, as explained in SERVER-136545:
# If a collection is created and dropped within the same checkpoint, it is absent from the primary's checkpoint, and the standby should not expect to see an entry for that collection.
# If a collection is created and dropped across checkpoints, the collection is present in the primary's checkpoint as a container delete, and the standby should expect to see that collection in the checkpoint.
Extend checkpoint_validatio
Fixed Versions
9.1.0-rc09.1.0-rc1025