[SERVER-50912] Two equivalent ComparableChunkVersions for "forced refresh" invariant when compared against each other Created: 14/Sep/20  Updated: 29/Oct/23  Resolved: 15/Sep/20

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

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-09-21
Participants:
Linked BF Score: 0

 Description   

Two ComparableChunkVersions with the same _forcedRefreshSequenceNum, created for force refresh will invariant when attempted to be compared, because the code path with continue towards comparing the chunk version.



 Comments   
Comment by Githook User [ 15/Sep/20 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-50912 Fix the comparison logic in ComparableChunkVersion
Branch: master
https://github.com/mongodb/mongo/commit/fba2766101503b6c19b560c399c85243348bccf9

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