-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
If I follow the instructions here to create an empty sharded timeseries collection on latest master locally:
https://www.mongodb.com/docs/manual/core/timeseries/timeseries-shard-collection/
i.e
sh.shardCollection( "test.weather", { "metadata.sensorId": 1 }, { timeseries: { timeField: "timestamp", metaField: "metadata", granularity: "hours" } })
I actually don't see the timeseriesFields being set on the doc for the collection in the config.collections collection i.e it's not creating a timeseries collection.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Expected Results
Mongosh should correctly parse timeseries options without the presence of `unique` field.
Actual Results
What do you observe is happening?
Additional Notes
Any additional information that may be useful to include.