BugZero found this defect 16 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
5/3/2024
MongoDB Server
No affected releases provided.
No fixed releases provided.
Currently, calling dropIndex again with the same param after running it the first time, will result in an IndexNotFound error. To repro: assert.commandWorked(mongos.getCollection(ns).createIndex({x: 1}, {name: indexName, collation: {locale: "simple"}})); assert.commandWorked(mongos.getCollection(ns).dropIndex(indexName)); assert.commandWorked(mongos.getCollection(ns).dropIndex(indexName)); The second call to dropIndex() will fail with IndexNotFound