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

define validator for buckets in a time-series collection

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-11-30

    Description

      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:
      Top-level field types of the bucket. No fields other than those defined below.
      Field types of fields inside control as defined below. Field type of control.time

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: