- 
    Type:
Bug
 - 
    Resolution: Unresolved
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: None
 - 
    None
 
- 
        Catalog and Routing
 - 
        ALL
 - 
        🟦 Shard Catalog
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
Dropping a collection by collectionUUID is not idempotent. When a collection is dropped using its UUID, a subsequent attempt to drop the same collection with the same collectionUUID fails with CollectionUUIDMismatch, instead of succeeding.
const coll = db.test; assert.commandWorked(db.createCollection(coll.getName())); const uuid = db.getCollectionInfos({name: coll.getName()})[0].info.uuid; assert.commandWorked(db.runCommand({drop: coll.getName(), collectionUUID: uuid})); assert.commandWorked(db.runCommand({drop: coll.getName(), collectionUUID: uuid})); // Fails with CollectionUUIDMismatch