[SERVER-51312] Implement time-series collection creation (abandoned - see linked tickets) Created: 02/Oct/20  Updated: 27/Oct/23  Resolved: 15/Oct/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Geert Bosch Assignee: Benety Goh
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-51501 recognize the timeseries option of th... Closed
is related to SERVER-51502 Have the create command with timeseri... Closed
is related to SERVER-51503 Have the create command with timeseri... Closed
Sprint: Execution Team 2020-10-19
Participants:

 Description   

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.


 Comments   
Comment by Benety Goh [ 15/Oct/20 ]

This ticket has been broken down into smaller units of work. See SERVER-51501, SERVER-51502, and SERVER-51503.

Generated at Thu Feb 08 05:25:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.