Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15692

Investigate changes in SERVER-67599: Allow collMod command to set bucketMaxSpanSeconds and bucketRoundingSeconds directly

      Original Downstream Change Summary

      With this ticket we add 2 unstable, optional parameters to the collMod command ("bucketRoundingSeconds" and "bucketMaxSpanSeconds") for time-series collections. Once set, these 2 parameters can only be increased and "bucketRoundingSeconds" must be equal to "bucketMaxSpanSeconds". "Granularity" cannot be set alongside these 2 parameters, but if the two parameters are not included, "granularity" collMod behavior remains the same.

      Description of Linked Ticket

      Allow users to modify 'bucketMaxSpanSeconds' and 'bucketRoundingSeconds' directly via collMod. As for create, we want to enforce that both values are strictly positive and that 'bucketRoundingSeconds' is no greater than 'bucketMaxSpanSeconds', and we will enforce that a collection cannot have 'granularity' set unless it corresponds perfectly with the set values for the other two parameters.

      When the user changes these two values, the values are not allowed to decrease.

            Assignee:
            nick.villahermosa@mongodb.com Nick Villahermosa
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 17 weeks ago