Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-137312ClosedFix Not Needed
Ensure Accessors are validated for correctness
Ensure all accessors are validated for the correct type.
Misleading names (e.g. SafeInt is unsafe to use because it doesn’t validate the type), multiple APIs. In unsafe accessors we should do DAssert.
Measure performance of tassert in unsafe accessors.
SERVER-137404ClosedFix Not Needed
Fuzzing: Add BSONElement standalone test
We are fuzzing by creating a BSONObj. Add a test case that adds a BSONElement standalone case.
SERVER-137317ClosedFix Not Needed
Investigate Non Safety Improvement Ideas
from: https://jira.mongodb.org/browse/SERVER-97413
And here are a few ideas that don't directly improve safety, but may improve the performance to reduce the impact of the extra checking, potentially making more checking possible:
Explore storing the element size and/or type in BSONElement.
Whatever we do, we must ensure that on a 64-bit platform it doesn't become larger than 16 bytes, otherwise it won't be passed or returned in registers which negates any potential improvement here. I su
SERVER-137308ClosedFix Not Needed
Merge refactoring of std::span to master
Merge the std::span changes only to master since a) they do not change functionality and b) it reduces the size of PRs.
SERVER-136436ClosedFix Not Needed
Final Performance Approval
Get the final performance metrics approved by the performance team.
SERVER-136435ClosedFix Not Needed
Update Unit Tests for any new scenarios
We need to add tests for BSONElement outside of a validated BSONObj.
SERVER-137311ClosedFix Not Needed
Run Fuzz Testing on the pre AI review branch
We want to prove that Fuzzing can find issues. In the pre AI review branch, prior to Mathias use of AI, we found an issue where the BSONElement Constructor assumed it was in a BSONObj with a null terminator.
We expect this to seg fault or hit ASAN issues. If it doesn't it means that we don't have the Fuzzer running unit tests that hit the use case of BSONElement outside of BSONObj. And we should address that.
SERVER-136434ClosedFix Not Needed
Fuzz Testing: Investigations
Investigate issues that arise from Fuzz Testing. Evaluate missing hits in Code Coverage.
Create final documentation on findings and the goals that were met.
SERVER-136335ClosedFix Not Needed
Fuzz Testing: Integrate with Code Coverage flags.
This is 2 parts:
Get code coverage results for Fuzzing.
Validate that the checks we have implemented are actually being hit in testing.
SERVER-136334ClosedFix Not Needed
Fuzz Testing: Refactor code for readability
The code was generated by an AI agent and should be refactored for human readability.
SERVER-137286In Code Review
Use span in BSONElement constructor
To perform bound checking, we need BSONElement to take a std::span in its constructor. The refactor is significant enough to mandate its own separate PR.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138014In Code Review
Optimize BSONObj iterators and getField using TrustedInitTag
Optimize {{BSONObjStlIterator}}, {{BSONObjIterator}}, and {{BSONObj::getField}} in {{src/mongo/bson/bsonobj.h}} and {{src/mongo/bson/bsonobj.cpp}} using {{BSONElement::_elementSizeData}}, {{_valuesizeForType}}, and {{TrustedInitTag}}.
Made with [Cursor|https://cursor.com]
Fixed Versions
9.1.0-rc09.1.0-rc1025
NODE-6857ClosedWon't Fix
Test that wait queue timeout errors do not clear the pool
This ticket was split from {{DRIVERS-3130}}, please see that ticket for a detailed description.
Components
CMAPCSOT
CSHARP-5524ClosedWon't Fix
Test that wait queue timeout errors do not clear the pool
This ticket was split from {{DRIVERS-3130}}, please see that ticket for a detailed description.
Components
CMAPCSOT
PYTHON-4511ClosedWon't Fix
Create CSOT Legacy Timeout Analogues and Compatibility Field
This ticket was split from {{DRIVERS-2829}}, please see that ticket for a detailed description.
Components
CSOT
NODE-6229ClosedWon't Fix
Create CSOT Legacy Timeout Analogues and Compatibility Field
This ticket was split from {{DRIVERS-2829}}, please see that ticket for a detailed description.
Components
CSOT
JAVA-5508ClosedWon't Fix
Create CSOT Legacy Timeout Analogues and Compatibility Field
This ticket was split from {{DRIVERS-2829}}, please see that ticket for a detailed description.
Components
CSOT
GODRIVER-3253ClosedWon't Fix
Create CSOT Legacy Timeout Analogues and Compatibility Field
This ticket was split from {{DRIVERS-2829}}, please see that ticket for a detailed description.
Components
CSOT
CSHARP-5159ClosedWon't Fix
Create CSOT Legacy Timeout Analogues and Compatibility Field
This ticket was split from {{DRIVERS-2829}}, please see that ticket for a detailed description.
Components
CSOT
JAVA-6247ClosedWon't Fix
Skip time-sensitive CSOT tests opening change streams on 9.0+ sharded clusters
This ticket was split from {{DRIVERS-3556}}, please see that ticket for a detailed description.
Components
CSOTUnified Test Runner