[SERVER-65881] Support sort-limit optimization with bounded sort stage Created: 21/Apr/22  Updated: 29/Oct/23  Resolved: 22/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc5, 5.0.15, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Dan Larkin-York
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0, v5.0
Sprint: QO 2022-05-02
Participants:

 Description   

The underlying BoundedSorter class supports a sort-limit optimization, but currently the $_internalBoundedSort pipeline stage does not accept a limit parameter.



 Comments   
Comment by Githook User [ 22/Apr/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-65881 Support sort-limit optimization with bounded sort stage
Branch: master
https://github.com/mongodb/mongo/commit/a0f786dca14008612eadeb7d37d30cfd7690f7ed

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