Hi there,
I was hoping to see the support if the Unique indexes in time series but apparently it is not there yet: https://www.mongodb.com/docs/manual/core/timeseries/timeseries-limitations/#std-label-timeseries-limitations-secondary-indexes
The $group solution looks like a workaround, it doesn’t really avoid duplicates and adds constraints to the clients who acess the collection.
Anyone has any other suggestion?