Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Execution
-
ALL
Description
On replicaset if we send an aggregation with a $out stage with a namespace for which the database haven't been created yet, the database will be created implicitly as part of the $out execution.
On the other hand, if the same query is processed by a router in a sharded cluster, the aggregation will fail with NamesapceNotFound error.
Attachments
Issue Links
- duplicates
-
SERVER-75856 Support implicit database creation for $merge and $out when running aggregate on a mongos
-
- In Code Review
-
- is related to
-
SERVER-74998 Remove deprecated enable_sharding parameter from ShardedCluster fixture
-
- Closed
-
- related to
-
SERVER-82895 Complete TODO listed in SERVER-82460
-
- Backlog
-