[SERVER-78140] allow update to supply sort option Created: 15/Jun/23  Updated: 02/Feb/24

Status: In Code Review
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Lynne Wang
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by TOOLS-3465 Investigate changes in SERVER-78140: ... Needs Triage
is depended on by COMPASS-7615 Investigate changes in SERVER-78140: ... Waiting (Blocked)
Documented
is documented by DOCS-16623 Investigate changes in SERVER-78140: ... Blocked
Assigned Teams:
Query Optimization
Sprint: QO 2024-02-05, QO 2024-02-19
Participants:

 Description   

Unlike findAndModify, updateOne does not accept sort so in cases on match on more than one candidate document there is no way to control which will be updated.

This is request to add such a option.

 


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