[SERVER-67408] CollectionUUIDMismatch error can be hidden if database does not exist Created: 21/Jun/22  Updated: 29/Oct/23  Resolved: 27/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.1, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
causes SERVER-70725 Cluster aggregate may incorrectly res... Closed
Related
is related to SERVER-68226 The test collection_uuid_drop.js need... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Execution Team 2022-06-27, Execution Team 2022-07-11
Participants:
Linked BF Score: 8

 Description   

For certain commands, if the database does not exist then NamespaceNotFound will be returned instead of CollectionUUIDMismatch. One example of this is the dropCollection command.



 Comments   
Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-67408 Preserve `CollectionUUIDMismatch` error even if database does not exist

(cherry picked from commit 9193a05db1a1dda7d7cc67bbd673c6d88654c826)
Branch: v6.0
https://github.com/mongodb/mongo/commit/bd9b75cbeb4cb1bbee79e60ea1556c6235993b1f

Comment by Githook User [ 27/Jun/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-67408 Preserve `CollectionUUIDMismatch` error even if database does not exist
Branch: master
https://github.com/mongodb/mongo/commit/9193a05db1a1dda7d7cc67bbd673c6d88654c826

Generated at Thu Feb 08 06:08:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.