Known Issues
5279 tracked MongoDB server issues from Jira with status, affected versions, and resolution details.
SERVER-138877Open
Expose Phase 2 validator backlog, retained memory, and oldest outstanding work
* Expose current pending intervals, retained delta count/estimated bytes, number of per-collection metadata entries held in the validator’s in-memory map, and oldest outstanding age
SERVER-127594Open
Expand REDUNDANT_SORT_REMOVAL optimization coverage
Set preservesOrderAndMetadata to true for the following stages:
* $limit
* $skip
* $match
* $redact
* $project, $addFields, $set, $unset (DocumentSourceSingleDocumentTransformation)
Extensively test how input pipelines with these stages interact with the REDUNDANT_SORT_REMOVAL rule.
SERVER-125839Backlog
Implement remaining PipelineRewriteContext Transforms + methods
Currently, the extensions optimizations API only supports examining N stages ahead and erasing the Nth stage but there are other introspection methods/transforms that could be exposed to support a broader range of optimizations functionality.
Determine what those should be, implement them, and add the appropriate unit and integration tests.
SERVER-123969Open
Implement extension rule priority behavior
Add a priority field to the MongoExtensionPipelineRewriteRule struct on the api that mirrors the same behavior as the existing priority field on the PipelineRewriteRule in the RBR engine.
Add the appropriate unit and integration tests.
Update host README.
SERVER-117646Backlog
Consider extension stages in view definitions when counting successful/failed aggregations and other commands
In SERVER-115694 and SERVER-117169 we added these counters to serverStatus:
* to the existing 'metrics.commands.aggregate' we will add this section:
It is a bit tricky to implement so I wanted to pause and consider - should usage of extensions inside views count towards these? I think it probably should, but warrants an extra ticket anyway, as it looks like we'll have to plumb through some context, and potentially add some 'withExtension' sections to find and other commands that can wor
SERVER-137904ClosedFixed
Make txn coordinator compute and send endOfTransaction metadata
Make the transaction coordinator compute the necessary metadata for "endOfTransaction", persist it in the coordinator document for the transaction, and send it to the participant shards as part of the {{commitTransaction}} command. The participant shards currently do not use the additional metadata, but a follow-up PR will make them write the data to their oplog as part of the existing commitTransaction oplog entry.
Computing and sending the metadata is gated on the feature flag for SPM-4826
Components
Change streamsIDLQuery Execution
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138295ClosedFixed
Write endOfTransaction metadata into the oplog
Follow-up change to SERVER-137904, which made the txn coordinator send end-of-transaction metadata with the `commitTransaction` command.
This change writes the metadata into the oplog for persistence.
Components
Change streamsDistributed Query ExecutionQuery Execution
Fixed Versions
9.1.0-rc09.1.0-rc1025
SERVER-138593In Code Review
Metrics grammar and parser in the IDL compiler (*_metrics.idl)
h2. Overview
Parser support for the metrics grammar in the IDL compiler (epic SPM-4962, split from SERVER-138331). {{*_metrics.idl}} files parse and validate after this change; nothing downstream acts on them yet.
h3. Scope
* New {{buildscripts/idl/idl/metrics/}} subpackage: {{syntax.py}}, {{ast.py}}, {{parser.py}}, {{errors.py}}.
* Thin hooks in {{idl/parser.py}}, {{idl/syntax.py}}, {{idl/ast.py}}, {{idl/errors.py}}, {{tests/testcase.py}}.
* Schemas: {{buildscripts/idl/metrics_schema.yml}} a
SERVER-138515Backlog
Enable quarantining of C++ unittests
Resmoke is well integrated with Test Selection Service, which covers the vast majority of tests in server.
We need to be able to quarantine unittests to waive failures (not totally skip running in this phase). We can assume that the current coarse-grained target binary-naming is the appropriate test-level to quarantine at.
SERVER-138924ClosedFixed
Vendored Bazel third-party shared libraries missing from Test binaries and libraries archives
Slack Thread Capture
Fixed Versions
9.1.0-rc0
SERVER-135885ClosedDone
Performance tests
- microbenchmark SamplingEstimatorImpl::estimateRIDs / estimateKeysScanned (both the old code and the code developed as part of the spike
- microbenchmark the time it takes to convert the BSON sample to columns
- create two synthetic benchmark variants that use the docOrder and sorted column layouts and compare to the current results.
SERVER-135884ClosedDone
Correctness tests
Some cases to test (not limited to):
- Arrays
- Dotted paths
SERVER-115560Open
Show extension versions in buildInfo or hostInfo
We identified during ORR review that this will be useful to debug environments. For 8.3 the versions will be pretty coupled, but this might evolve in the future
SERVER-109457Backlog
Test more replset upgrade/restart scenarios
pointed out in SERVER-106933 that we have a gap in coverage for the scenario where an election takes place before a repl-set upgrade is complete. That could get us into a mixed version scenario where the primary has completely upgraded, but one of the secondaries is still on the previous version. Without FCV-gating on the query feature (as is in extensions), it may allow the primary to write the stage to the view catalog; that could cause an fassert on the secondary. This scenario should be inve
SERVER-109450Backlog
Investigate flaky createView() behavior during upgrade/downgrade
There is some flaky behavior around creating views during an upgrade process. In the period between when the shards start restarting until mongos has restarted, the cluster may allow you to create a view with $foo (extension stage only available after upgrade) even though you cannot run queries on the view until mongos has upgraded. This behavior is flaky, as it occasionally rejects the view creation to begin with. Note that this only happens when auth is not enabled: when auth is enabled, we ha
SERVER-134332Backlog
Remove experimental tag from mongot extension platform matrix tasks
The {{mongot_extension_platform_matrix}} tasks run nightly on the enterprise Linux variants to provide coverage of the real mongot-extension on every supported Linux flavor. However, the underlying resmoke suites are still tagged {{{}experimental{}}}, which conflicts with the {{forbid-tasks-with-tag-on-variants}} evergreen lint rule (variant tag
{{{}forbid_tasks_tagged_with_experimental{}}}). To keep the lint passing, the following tasks are
currently listed as exceptions in {{{}etc/evergreen_
SERVER-132622Backlog
[v8.3] hybrid search succeeds on untracked timeseries collections
There are certain topologies where on 8.3 clusters and clusters with featureFlagExtensionsInsideHybridSearch off (the default is on in 9.0) hybrid search pipelines succeed but should fail on timeseries collections. This ticket is specifically to fix the bug on 8.3 and when featureFlagExtensionsInsideHybridSearch is off.
See comments for details.