[DOCS-15692] Investigate changes in SERVER-67599: Allow collMod command to set bucketMaxSpanSeconds and bucketRoundingSeconds directly Created: 19/Oct/22  Updated: 13/Nov/23  Resolved: 16/May/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.2.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Nick Villahermosa
Resolution: Duplicate Votes: 0
Labels: ready-for-work
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-67599 Allow collMod command to set bucketMa... Closed
Participants:
Days since reply: 1 year, 6 weeks, 6 days ago
Epic Link: DOCSP-22091

 Description   
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.



 Comments   
Comment by Nick Villahermosa [ 22/Dec/22 ]

Clarified with Dan that "unstable" in this case means "not in the Stable API"

Comment by Sarah Olson [ 07/Dec/22 ]

Before completing docs for this, please investigate what "unstable" means in this context. 

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