-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
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.
- documents
-
SERVER-67599 Allow collMod command to set bucketMaxSpanSeconds and bucketRoundingSeconds directly
- Closed