[SERVER-53093] Add timestamp to ChunkVersion Created: 27/Nov/20  Updated: 29/Oct/23  Resolved: 23/Dec/20

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

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli 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
depends on SERVER-52766 Support timestamp in the catalog cach... Closed
is depended on by SERVER-52587 Making collection and database instan... Closed
Problem/Incident
Related
related to SERVER-53504 Convert `chunk_operations_preserve_uu... Closed
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 0

 Description   
  • Add timestamp to ChunkVersion
  • Modify the version of first chunks to include the timestamp
  • Adapt/create unit tests using timestamps


 Comments   
Comment by Githook User [ 17/Dec/20 ]

Author:

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

Message: SERVER-53093 Add timestamp to ChunkVersion

PART 4: Adding persistence to the Timestamp of a ChunkVersion
Branch: master
https://github.com/mongodb/mongo/commit/615e6e2f2c878277441e353c84f4d17d17205018

Comment by Githook User [ 14/Dec/20 ]

Author:

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

Message: SERVER-53093 Add timestamp to ChunkVersion

PART 3:

Getting rid of some relational operators that didn't check if the
versions were comparable.
Use the 'isOlderThan' and the 'isOlderOrEqualThan' functions instead.
Branch: master
https://github.com/mongodb/mongo/commit/22030f4bb1057b15ae0da46425b90775f1e2019b

Comment by Githook User [ 10/Dec/20 ]

Author:

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

Message: SERVER-53093 Add timestamp to ChunkVersion

PART 2: Fixing our tests
Branch: master
https://github.com/mongodb/mongo/commit/457ad84c771a6cdd78f44593760613f3abf2d24c

Comment by Githook User [ 10/Dec/20 ]

Author:

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

Message: SERVER-53093 Add timestamp to ChunkVersion

PART 1: Adding the timestamp to the ChunkVersion class and to the places
where we construct a ChunkVersion
Branch: master
https://github.com/mongodb/mongo/commit/4e5de13940486910b57c1feb57e58687f778b855

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