[SERVER-63334] Fix logic in chunk info comparator object Created: 07/Feb/22  Updated: 29/Oct/23  Resolved: 15/Feb/22

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

Type: Bug Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
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
Participants:
Linked BF Score: 184

 Description   

It has been detected that the comparison functor used in the "MoveAndMergeChunks" phase of the defragmentation algorithm to sort the list of chunk infos doesn't comply with the Compare named requirement (in particular, with the restriction about Strict weak orderings).



 Comments   
Comment by Githook User [ 15/Feb/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-63334 Fix "list iterators incompatible" error in windows debug
Branch: master
https://github.com/mongodb/mongo/commit/d1b01bd5da2dee6a0252f1171777a3c1a53339c5

Comment by Githook User [ 14/Feb/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-63334 fix invalid comparator assertion in windows debug
Branch: master
https://github.com/mongodb/mongo/commit/b180b4d36109cdb70fc5aa2547807eca9ce64175

Comment by Githook User [ 08/Feb/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-63334 Fix logic in chunk info comparator object
Branch: master
https://github.com/mongodb/mongo/commit/f895769210cc8fb7e1a0546927539ea001e57de6

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