BugZero found this defect 44 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/5/2024
MongoDB Server
7.0.7
No fixed releases provided.
> db.createCollection("foo", {clusteredIndex: {key: {id:1}}, unique: true, expireAfterSeconds: 12345}) { "ok" : 0, "errmsg" : "BSON field 'create.unique' is missing but a required field", "code" : 40414, "codeName" : "Location40414", "$clusterTime" : { "clusterTime" : Timestamp(1712323732, 1), "signature" : { "hash" : BinData(0,"GiiotsVGXX4PF71l7/8+DXlqOhU="), "keyId" : NumberLong("7354374102687154181") } }, "operationTime" : Timestamp(1712323717, 1) } The missing field isn’t create.unique; rather, it’s create.clusteredIndex.unique.
See above.