[SERVER-59770] Use the timestamp to implement the comparison methods of ChunkVersion Created: 03/Sep/21  Updated: 29/Oct/23  Resolved: 29/Sep/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 5.1 Required
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-52847 Make timestamp required in Collection... Closed
is depended on by SERVER-59771 Rely on the timestamp to implement th... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-09-06, Sharding EMEA 2021-09-20, Sharding EMEA 2021-10-04
Participants:

 Description   

The goal of this ticket is to rely on the presence of the timestamp to implement the methods that compare two versions in the ChunkVersion class..

As part of this work we should also replace the family of isOlder... methods of the ChunkVersion and replace them by comparison operators.



 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 [ 29/Sep/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-59770 Use the timestamp to implement the comparison methods of ChunkVersion
Branch: master
https://github.com/mongodb/mongo/commit/e7203b9a3132ce43290403cbedabc276d4082ebf

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