[SERVER-53867] Add/Remove timestamp to docs on config.chunks when upgrading/downgrading Created: 19/Jan/21  Updated: 29/Oct/23  Resolved: 21/Jan/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-0-Metadata-Format
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-53773 Enable featureFlagTimestampedUUID in ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-25
Participants:

 Description   

Each document on config.chunks has its own ChunkVersion. Since we extended the definition of ChunkVersion to include a timestamp, when we are upgrading/downgrading we have to properly handle it.

On upgrade we should add to all docs on config.chunks the same timestamp that we are adding to config.collections. On Downgrade we have to get rid of it, as we do in config.collections.



 Comments   
Comment by Githook User [ 21/Jan/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-53867 Add/Remove timestamp to docs on config.chunks when upgrading/downgrading
Branch: master
https://github.com/mongodb/mongo/commit/efa6daec5a21e0ff396723a2f66ca5c1820d1fb5

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