[SERVER-67599] Allow collMod command to set bucketMaxSpanSeconds and bucketRoundingSeconds directly Created: 28/Jun/22  Updated: 29/Oct/23  Resolved: 18/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Adrian Gonzalez Montemayor
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-15692 Investigate changes in SERVER-67599: ... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-10-17, Execution Team 2022-10-31
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 18/Oct/22 ]

Author:

{'name': 'Adrian Gonzalez', 'email': 'adriangonzalezmontemayor@gmail.com', 'username': 'adriangzz'}

Message: SERVER-67599 Allow collMod to set bucketMaxSpanSeconds and bucketRoundingSeconds
Branch: master
https://github.com/mongodb/mongo/commit/3a9e3e4462c9e16bdc8ce30c75cd5db71ad19b2f

Generated at Thu Feb 08 06:08:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.