Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51312

Implement time-series collection creation (abandoned - see linked tickets)

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 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.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: