[SERVER-44367] Allow hinting the delete command Created: 01/Nov/19  Updated: 29/Oct/23  Resolved: 02/Mar/20

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

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Pawel Terlecki
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-13478 Investigate changes in SERVER-44367: ... Closed
Related
is related to SERVER-42099 allow passing hint to findAndModify f... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-02-24, Query 2020-03-09
Participants:

 Description   

We recently added hint support for updates; we should do the same for the delete command. This work should also lift the restriction that the findAndModify command cannot include a hint if its remove parameter is set.



 Comments   
Comment by Githook User [ 29/Feb/20 ]

Author:

{'name': 'Pawel Terlecki', 'username': 'pterlecki', 'email': 'pawel.terlecki@mongodb.com'}

Message: SERVER-44367 Allow hinting the delete command

Support hinting in delete and findAndModify with remove=true
based on hinting in update.
Branch: master
https://github.com/mongodb/mongo/commit/54f15bec7e431d831ef23ac7eb52a4c27b069592

Comment by Githook User [ 27/Feb/20 ]

Author:

{'username': 'milkie', 'name': 'Eric Milkie', 'email': 'milkie@10gen.com'}

Message: Revert "SERVER-44367 Allow hinting the delete command"

This reverts commit 78020f2c19cb3318cac3d603be99cfd9a3fe12b1.
Branch: master
https://github.com/mongodb/mongo/commit/ff3d386a7172117b6326aec60475e55eae22c753

Comment by Eric Milkie [ 27/Feb/20 ]

Commit was reverted due to failing unittest.

Comment by Githook User [ 27/Feb/20 ]

Author:

{'username': 'pterlecki', 'name': 'Pawel Terlecki', 'email': 'pawel.terlecki@mongodb.com'}

Message: SERVER-44367 Allow hinting the delete command

Add hinting to delete an findAndModify commands
based on how it was done for update.
Branch: master
https://github.com/mongodb/mongo/commit/78020f2c19cb3318cac3d603be99cfd9a3fe12b1

Comment by Pawel Terlecki [ 20/Feb/20 ]

https://mongodbcr.appspot.com/556330091/

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