-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
QE 2024-03-18
On replicaset if we send an aggregation with a $densify stage with a namespace for which the database haven't been created yet and the $densify stage would produce more docsĀ than the configured internalQueryMaxAllowedDensifyDocs parameter the aggregation will fail with 5897900 error code.
On the other hand, if the same aggregation is executed on a sharded cluster the aggregation will simply work with no error.
- depends on
-
SERVER-75856 Support implicit database creation for $out when running aggregate on a mongos
- Closed
-
SERVER-88441 mongos does not appropriately emulate mongod when db does not exist in aggregation commands
- Closed
- is related to
-
SERVER-74998 Remove deprecated enable_sharding parameter from ShardedCluster fixture
- Closed
- related to
-
SERVER-82096 Make count command behave the same in replicaset and sharded cluster when db does not exists
- Closed