Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
PYTHON-6185ClosedFixed
Migrate macOS 14 tests to macOS 15
This ticket was split from {{DRIVERS-3691}}, please see that ticket for a detailed description.
Components
Evergreen
Fixed Versions
4.20.1
SERVER-112895Backlog
MemoryUsageTokenWith utility has problems
The memory usage tracking provides a few utilities to make memory tracking easier:
* a [token class|https://github.com/10gen/mongo/blob/580332adc410237402b54ffe42c16d7a53987661/src/mongo/db/memory_tracking/memory_usage_tracker.h#L306] that increments memory in the constructor and decrements in the destructor
* a ["token with" helper class|https://github.com/10gen/mongo/blob/580332adc410237402b54ffe42c16d7a53987661/src/mongo/db/memory_tracking/memory_usage_tracker.h#L367] that bundles a type in
SERVER-108191ClosedWon't Do
Enable multiversion tests on Extensions-enabled variant
In SPM-4234, we created an Evergreen variant that runs extensions-agnostic tasks on nodes with extensions loaded. We won't be able to run multiversion tests until the "previous" versions have extensions enabled.
SERVER-139140In Code Review
Add transaction test model and TxnCommandGenerator to the change stream FSM framework
Add the transaction\-centric test model and its walk generator to the change stream FSM framework, for endOfTransaction \(SPM\-4826\) testing.
h2. Scope of Work
\* Create {{jstests/libs/util/change\_stream/change\_stream\_txn\_test\_model.js}} — {{TxnAction}}/{{TxnState}} enums \(kept separate from the sharding {{Action}}/{{State}} so each model's all\-edges coverage check stays scoped\) and {{TransactionTestModel}}: RS graph \(3 in\-txn states\) vs sharded graph \(7 states, sharded/unsharded s
Fixed Versions
9.1.0-rc09.1.0-rc1026
SERVER-139397In Code Review
Gate monguard-baseline-scan Evergreen variant to master only
h2. Overview
Run the {{monguard\-baseline\-scan}} Evergreen build variant only on {{mongodb\-mongo\-master}}, not on the release staging branches.
h2. Background
The variant runs an Endor Labs baseline scan of the {{monguard}} Rust crate. It is defined in {{etc/evergreen\_yml\_components/variants/misc/misc.yml}}, which the staging branches also pick up, so the Rust scan runs on branches where it is not wanted.
h2. Scope of Work
\* {{etc/evergreen\_yml\_components/variants/misc/misc.yml}} — rem
Fixed Versions
9.1.0-rc09.1.0-rc1026
SERVER-138754ClosedFixed
Move heap profiler and jsCore_heap_profiling to WR
This change moves ownership of the heap profiler and associated tests to workload resilience.
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-113064ClosedFixed
Complete TODO listed in SERVER-74926
There is a TODO in the codebase referencing a resolved ticket which is assigned to you.
Please follow this link to see the lines of code referencing this resolved ticket:
https://github.com/10gen/mongo/search?q=SERVER-74926&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 of this ticket to represent the work you're actually doing.
Fixed Versions
9.1.0-rc09.1.0-rc1026
SERVER-139446Needs Scheduling
Absorb relevant $project/$addFields fields into $lookup
We could do the following rewrite:
+ similar with renames and dotted paths where possible.
We already have a similar rewrite on $match, to absorb the $match into the $lookup subpipeline.
This $project rewrite will reduce the size of the returned data which has a positive performance impact, but also enable other optimisations, such as the projection pushdown, $match pushdown (including with computed fields), etc.
A simple local test showed potential for 35% improvement when the forei
SERVER-26602Backlog
$lookup and $graphLookup should only fetch fields needed
$lookup is a great feature, but it must provide the option to limit the fields from joins
Components
Aggregation Framework
SERVER-139448Needs Scheduling
Investigate mongosql translated pipelines for possible rewrites
There's some pipeline shapes visible in [their tests|https://github.com/mongodb/mongosql/blob/main/mongosql/src/air/desugarer/testdata/desugar_all.yml], but I think we can also just run the compiler separately to investigate interesting SQL queries.
We could focus on how JOINs and subqueries, and other common SQL queries are translated.
Then we can determine if there are any pipeline shapes we need to support better with rewrites and analysis, for example to ensure JOO can apply, we can us
SERVER-139447Needs Scheduling
Intersect index bounds with inferred types
Use schema types and type inference to derive field-type constraints, convert them into index bounds, and intersect them with bounds on existing candidate scans. This will allow expressions without dedicated bounds-generation rules to have better index scans, as long as the expressions have typing support.
As we improve the type inference the bounds for more cases will improve.
If we have a collection schema such as:
We know foo cannot be null, missing, and could avoid a FETCH.
If w
SERVER-132181ClosedDuplicate
Update config.system.sessions sharded collection drop playbook
Dropping the {{config.system.sessions}} collection is not permitted via a {{mongos}} command, it is explicitly blocked.
However, to support TSEs/COEs in resolving known bugs for customers, we maintain internal documentation describing a manual workaround: connect to each shard individually, drop the collection locally, then delete the corresponding entries from {{config.collections}} and {{config.chunks}} so the collection can be safely re-created.
With the introduction of authoritative sh
SERVER-137541ClosedFixed
Move ARM killCursors scheduling onto RemoteCursorData
h2. Summary
Replace {{_scheduleKillCursorForRemote}} and {{_shouldKillRemote}} with {{RemoteCursorData::scheduleKillCursors()}}, moving ARM killCursors scheduling onto the per-remote object that owns the cursor. No behavior change.
h2. Context
Part of the {{SERVER-134598}} ARM retry refactor, delivered as a stack of 8 PRs. This is PR 7 of 8, counting from the bottom of the stack.
h2. Details
The implementing PR is the source of truth for design rationale, testing, and review discussion:
[#6490
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-137539ClosedFixed
Shut down the ARM sub-baton at the start of kill()
h2. Summary
Shut down the ARM sub-baton unconditionally at the start of {{kill()}}, before the no-outstanding-async-work early return, so a continuation still queued on it is refused and fails over to the executor instead of running inline on the thread that holds {{_mutex}}.
h2. Context
Part of the {{SERVER-134598}} ARM retry refactor, delivered as a stack of 8 PRs. This is PR 5 of 8, counting from the bottom of the stack.
h2. Details
The implementing PR is the source of truth for design rati
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-137538ClosedFixed
Schedule ARM retry backoff with scheduleWorkAt
h2. Summary
Replace the backoff {{sleepFor()}} plus ARM-wide {{CancellationSource}} with {{TaskExecutor::scheduleWorkAt()}}, so a pending backoff can no longer strand {{kill()}} and per-remote cancellation can move onto {{RemoteCursorData::cancelAsyncWork()}}.
h2. Context
Part of the {{SERVER-134598}} ARM retry refactor, delivered as a stack of 8 PRs. This is PR 4 of 8, counting from the bottom of the stack.
h2. Details
The implementing PR is the source of truth for design rationale, testing,
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-137908In Progress
Add test to assert on cloning properties of QuerySolutionNode
The QuerySolutionNode class exposes a [clone()|https://github.com/10gen/mongo/blob/2c0a9a216233b0670da0311027d17e6eb2d5810f/src/mongo/db/query/compiler/physical_model/query_solution/query_solution.h#L232] method that is fragile and difficult to maintain when new properties are added. Rather than moving away from clone(), this ticket proposes a comprehensive test that will catch issues related to cloning ideally in a unit test.
SERVER-136232ClosedFixed
Integrate parallel planner with lowering (after deferred engine selection)
This ticket should include implementing the basic tier0 gates on entry to the planner (FF, knob, etc.)
Fixed Versions
9.1.0-rc09.1.0-rc1026