[SERVER-47405] Improve performance of extractKeyFast() by avoiding creation of non-OK Status Created: 08/Apr/20  Updated: 29/Oct/23  Resolved: 10/Apr/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 4.5.1, 4.3.6
Fix Version/s: 4.4.0-rc2, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Query 2020-04-20
Participants:
Linked BF Score: 0

 Description   

This function (Status constructor) does an allocation and is marked "cold." Turns out to be pretty costly.



 Comments   
Comment by Githook User [ 13/Apr/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-47405 improve performance of sort key generation by avoiding creation of non-OK Status

(cherry picked from commit c4bca20e65afbb77834559247bdda8f541cda16b)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e7270ba67d84fefcf56f56952757ef6ea474f218

Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'puppyofkosh'}

Message: SERVER-47405 improve performance of sort key generation by avoiding creation of non-OK Status
Branch: master
https://github.com/mongodb/mongo/commit/c4bca20e65afbb77834559247bdda8f541cda16b

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