[SERVER-56797] Allow collMod to change time-series bucket granularity Created: 10/May/21  Updated: 21/Apr/22  Resolved: 27/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Louis Williams Assignee: Dan Larkin-York
Resolution: Done Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14520 Investigate changes in SERVER-56797: ... Closed
Duplicate
is duplicated by SERVER-57210 bucket_granularity.js should not run ... Closed
Backport Requested:
v5.0
Sprint: Execution Team 2021-05-31
Participants:
Linked BF Score: 49

 Description   

The collMod command will allow setting or confirming the granularity of a time-series collection:

	{ collMod: "ts", timeseries: { granularity: "minutes" } }

The granularity may only change from "seconds" to "minutes" or from "minutes" to "hours", and will update the stored granularity and bucketMaxTimespanSeconds, as well as update the view definition of the time-series collection.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 28/May/21 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-56797 Allow collMod to change time-series bucket granularity
Branch: v5.0
https://github.com/mongodb/mongo/commit/531ba45032423ed4b8f6d347c0f01f90d1ad813b

Comment by Githook User [ 26/May/21 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-56797 Allow collMod to change time-series bucket granularity
Branch: master
https://github.com/mongodb/mongo/commit/01f22c5f2071ff338fefe256b8d81f0ddf09d88e

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