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

Allow collMod command to set bucketMaxSpanSeconds and bucketRoundingSeconds directly

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-10-17, Execution Team 2022-10-31

      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:
            adrian.gonzalez@mongodb.com Adrian Gonzalez Montemayor
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: