Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-119969ClosedFixed
Consider replacing uassert and invariant checks with tassert
It is supposed to be impossible to get invalid BSON into BSONObj and friends (aside from cases in testing where we try to break BSONObj). It would be a programmer error if invalid BSON makes it into BSONObj. We should use the non fatal in production tassert then.
Fixed Versions
9.1.0-rc0
SERVER-105897ClosedFixed
Make all BSONElement accessors validate that the type is as expected
Currently, {{BSONElement}} accessors do not validate that the type expected by the API matches the actual contents of the referred-to element. Identify a way to add type checking to {{BSONElement}} accessors with an acceptable performance overhead. To maximize chance of success, we can consider it a programmer error to call accessors in a type-mismatched fashion and use {{tassert}} or low-overhead server-aborting mechanisms like {{MONGO_UNREACHABLE}} or {{{}__builtin_trap(){}}}.
Fixed Versions
9.1.0-rc0
SERVER-96057Open
Clarify safety of bson element accessors
In BSONElement, accessors have varying degrees of safeness which aren't entirely clear from the naming. We should assess our nomenclature to make their status clear, BF-35346 resulted from one being used in an unsafe manner.
From my initial investigation, we can categorize them into 4-5 levels of safety:
*Checks for type correctness and uassert if needed*
String()
checkAndGetStringData()
Date()
Number()
Decimal()
Double()
Long()
Int()
Bool()
Array()
OID()
Obj()
Val(Type
SERVER-83851ClosedFix Not Needed
Enable sys-perf feature flag variants
Enable the sys-perf feature flag variants for this project.
SERVER-83850ClosedFix Not Needed
Feature Flag Upgrade/Downgrade Testing
If this project includes a feature flag, please complete all
upgrade/downgrade testing as part of this ticket.
1. Test how the feature behaves when upgrading FCV turns the
feature on
2. Test that the correct behavior occurs when downgrading FCV
completely and then upgrading FCV completely
3. Test that the correct feature behavior occurs if the FCV downgrade
fails after only reaching the `downgrading` FCV state and then FCV is
fully upgraded again
4. Test that anything added by this project to th
SERVER-83849ClosedFix Not Needed
Documentation Updates
This ticket is to update all types of documentation API Guide,
Programming Guide, and Architecture Guide related to the project.
SERVER-83848ClosedFix Not Needed
Grammar fuzzer changes
Grammar fuzzer changes for this project.
SERVER-83847ClosedFix Not Needed
Enable feature flag
Enable the feature flag for this project.
SERVER-83846ClosedFix Not Needed
Create feature flag
Create the feature flag for this project.
SERVER-137652ClosedFixed
queryableWT restore tests fail on macOS 15 hosts: queryable API server on localhost:8080 times out after hook restart
h2. Problem
When the macOS build variants move from the macos-14 to the macos-15 distros (DEVPROD-45657 / SERVER-137597), the {{queryableWT}} task fails on both enterprise macOS variants. 3 of the 5 tests in {{src/mongo/db/modules/enterprise/jstests/queryable_wt/}} fail: {{simple_rs_restore.js}}, {{simple_rs_pit_restore.js}} (arm64) and {{simple_standalone_restore.js}} (amd64). The task is green on macos-14 in mainline the same day (0f094cb6, Python 3.13.15 on both fleets).
Evidence: https://s
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-105706Needs Scheduling
Change event's documentKey lacks null/missing values
*Problem*
Change streams include a `documentKey` to allow clients to query for individual documents even if multiple shards contain documents with the same _id.
The server, though, omits shard key fields from `documentKey` if the document lacks that field. That is: for a collection sharded on (sk: 1, _id: 1), if a document is missing the sk field, its documentKey in the change stream is just (_id: 1 ) rather than (sk: null, _id: 1). Thus, if some other shard contains (sk: 123, _id: 1), a que
SERVER-133716ClosedFixed
Track collection document bytes scanned in index build
This adds a new OTel metric, `mongodb.serverStatus.indexBuilds.bytesScanned`, which is used to track the number of bytes read across documents during an index build's collection scan.
Components
Build
Fixed Versions
9.1.0-rc0
GODRIVER-4255Needs Triage
mongo-go-driver - PR #2717: Bump the actions group with 4 updates
[dependabot[bot]|https://github.com/apps/dependabot] has created [PR #2717: Bump the actions group with 4 updates|https://github.com/mongodb/mongo-go-driver/pull/2717] in [mongo-go-driver|https://github.com/mongodb/mongo-go-driver]
SERVER-132517ClosedFixed
Reject duplicate keys in CSFLE encryption schema tree
Duplicate keys are valid in $jsonSchema, but are not handled in CSFLE processing.
Multiple `properties` keys of the same name are processed with a "last-wins" map assignment during encryption schema tree construction (`_propertiesChildren[std::string\\{nextChild}] = std::move(node);` in `addChild()` in `encryption_schema_tree.cpp`).
Similarly, multiple `patternProperties` nodes with identical regex are currently processed with a "first-wins" std::set insert in `addPatternPropertiesChild()
Fixed Versions
9.1.0-rc09.1.0-rc10258.3.169.0.78.0.377.0.48
SERVER-139151Backlog
Add CompactStateBuffer
Add {{CompactStateBuffer}}, a move-only owner of one buffer of compact accumulator states laid out by a {{CompactStateLayout}}, for stages that keep a few groups outside a {{CompactStateTable}}.
* It can reset its states in place, reusing the allocation.
SERVER-139111In Code Review
Remove never-failing expensive tasks from the sbe-full Evergreen variant
Remove 7 expensive, never-failing tasks from the {{enterprise-amazon-linux2-arm64-all-feature-flags-sbe-full}} variant to cut its cost, by adding exclusions to its {{.all_variants}} and {{.default}} task selectors.
* Removed: {{concurrency_sharded_replication_rate_limited}}, {{hotBackups}}, {{concurrency_sharded_replication}}, {{concurrency_sharded_multi_stmt_txn_stepdown_terminate_kill_primary}}, {{concurrency_sharded_replication_execution_control_with_prioritization}}, {{concurrency_sharded_re
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-137514ClosedDone
Complete TODO listed in SERVER-135402
There is a TODO in code owned by your team which references a resolved ticket.
The TODO appears in:
* src/mongo/db/modules/atlas/src/disagg_storage/pali/log_server_manager_options.idl:16
You can also search for all references to the resolved ticket here:
https://github.com/10gen/mongo/search?q=SERVER-135402&type=Code
The next steps for this ticket are to either remove the outdated TODO or follow the steps in the TODO if it is correct. If the latter, please update the summary and description o
SERVER-137361ClosedFixed
Prevent users from creating view containing an internal-only stage
Fixed Versions
9.1.0-rc09.1.0-rc10259.0.7