-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Execution Team 2020-10-19
Creating a time-series collection X with options as described above, consists of these steps:
- Create a bucket collection system.buckets-X for holding the time-series buckets:
- Set the validator option to a JSON schema enforcing constraints on bucket documents. This validation is only structural to prevent accidental corruption by users and cannot cover all constraints. Updates by mongod itself are valid by construction, so don't require validation. Leave the validationLevel and validationAction to their strict/error defaults. Validation includes the following: (1) Top-level field types of the bucket. No fields other than those defined below. (2) Field types of fields inside control as defined below. Field type of control.time
- Create bucket indexes, see design.
- Create a new entry in the system.views collection with a timeseries field in addition to the viewOn and pipeline fields.
- is related to
-
SERVER-51501 recognize the timeseries option of the create command
- Closed
-
SERVER-51502 Have the create command with timeseries option create a timeseries view
- Closed
-
SERVER-51503 Have the create command with timeseries option create a buckets collection
- Closed