Operational Defect Database

BugZero found this defect 206 days ago.

MongoDB | 2483598

Make $out behave the same in replicaset and sharded cluster when db does not exists

Last update date:

3/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

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.

Top User Comments

mickey.winters commented on Tue, 7 Nov 2023 15:58:08 +0000: Hi! I believe this is something I'm currently working on https://jira.mongodb.org/browse/SERVER-75856

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...