...
BugZero found this defect 6 days ago.
If 'test' is not a timeseries collection, the insertion fails. db.test.drop(); db.createCollection("test", {timeseries: {timeField: "timestamp", metaField: "metadata"}}); db.test.insert({_id: 1, timestamp: ISODate("2000-01-01T00:00:00.000Z")}) db.test.insert({_id: {$eq: 1}, timestamp: ISODate("2000-01-01T00:00:00.000Z")}) db.test.find({_id: 1}); db.test.find({_id: {$eq: 1}}); db.test.find({_id: {$eq: {$eq: 1}}}); Timeseries collections don't enforce that _id fields exist in the first place, so this is perhaps not an especially high priority issue.