[SERVER-70809] Simplify logic in timeseries options Created: 24/Oct/22  Updated: 29/Oct/23  Resolved: 16/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Fausto Leyva (Inactive) Assignee: Fausto Leyva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-70886 Coverity analysis defect 134024: Redu... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-12-12, Execution Team 2022-12-26
Participants:

 Description   

As a result of SERVER-67597, we only set bucketRoundingSeconds in the case where we set custom bucketing parameters. In cases where the granularity is either seconds, minutes or hours, we do not set bucketRoundingSeconds in the TimeseriesOptions. Check if the new logic around setting bucketRoundingSeconds can help us simplify checks in timeseries_options.



 Comments   
Comment by Githook User [ 16/Dec/22 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-70809 Simplify logic in timeseries options
Branch: master
https://github.com/mongodb/mongo/commit/42a5735233ce607c39ccb52e4139fdd95519b865

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