[SERVER-76694] Remove double net from sort key generation Created: 28/Apr/23  Updated: 29/Oct/23  Resolved: 03/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Peter Volk
Resolution: Fixed Votes: 0
Labels: autogen-todo
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-74725 Query SortPattern does not check for ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-05-15
Participants:

 Description   

This is a follow up ticket from SERVER-74725...

 

Currently there is some double net code to ensure that that we do not have a key in the sort pattern twice. Since SERVER-74725 uasserts the duplicate fields right now. The places in the code were fixed that generate duplicate fields hence we can remove the double net from the sort key generation. 



 Comments   
Comment by Githook User [ 03/May/23 ]

Author:

{'name': 'Peter Volk', 'email': 'peter.volk@mongodb.com', 'username': 'HCSPete'}

Message: SERVER-76694 Removed double net code for duplicate keys
Branch: master
https://github.com/mongodb/mongo/commit/47f11cb89f5d1aabc3e7121868ca454babb0f681

Generated at Thu Feb 08 06:33:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.