[SERVER-61028] Implement granularity update for timeseries collection Created: 27/Oct/21  Updated: 29/Oct/23  Resolved: 23/Mar/22

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

Type: New Feature Priority: Major - P3
Reporter: Rui Liu Assignee: Rui Liu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-64110 Timeseries insertion should not conti... Closed
depends on SERVER-60694 Create DDL coordinator for collMod co... Closed
Problem/Incident
causes SERVER-64907 Ensure RT is valid before use in coll... Closed
causes SERVER-71920 ShardingCatalogManager::updateTimeSer... Closed
Related
is related to SERVER-61044 Complete TODO listed in SERVER-57570 Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2021-11-15, QE 2021-11-29, QE 2021-12-13, QE 2021-12-27, QE 2022-01-10, QE 2022-04-04, QE 2022-02-07, QE 2022-02-21, QE 2022-03-07, QE 2022-03-21, QE 2022-01-24
Participants:

 Description   

Currently during a granularity update, mongos and shards may see inconsistent granularity values. This causes read / write operations routed to wrong shards, and we need to have a consistent value for granularity during the update. The value will be stored on the config server, and read / write operations will be blocked temporarily during its update and use the config server value as the source of truth.

See this document for more detailed discussion https://docs.google.com/document/d/1ljVx7gni5dg6vuLSL2li14lq13T2RqENWEGKKeliCzw/edit#heading=h.948j6cnha6ak.



 Comments   
Comment by Githook User [ 23/Mar/22 ]

Author:

{'name': 'Rui Liu', 'email': 'rui.liu@mongodb.com', 'username': 'lriuui0x0'}

Message: SERVER-61028 Implement granularity update for timeseries collection
Branch: master
https://github.com/mongodb/mongo/commit/1be55774474f82e55a2ff83883428559358fe89c

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