[SERVER-43039] db.collection.bulkWrite doesn't support hint with replaceOne Created: 26/Aug/19  Updated: 29/Oct/23  Resolved: 25/Sep/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-13054 Investigate changes in SERVER-43039: ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Query 2019-10-07
Participants:

 Description   

updates can support hint (SERVER-1599 and SERVER-42608)

The mongo shell helper method db.collection.bulkWrite() needs to support hint for the replaceOne operation.



 Comments   
Comment by Githook User [ 25/Sep/19 ]

Author:

{'name': 'James Wahlin', 'username': 'jameswahlin', 'email': 'james.wahlin@mongodb.com'}

Message: SERVER-43039 db.collection.bulkWrite doesn't support hint with replaceOne

(cherry picked from commit b90eb45382cacc033a4258d0d28ce64acd307caa)
Branch: v4.2
https://github.com/mongodb/mongo/commit/e4571c1eb6034c118b69175989db7753eafc3086

Comment by Githook User [ 24/Sep/19 ]

Author:

{'name': 'James Wahlin', 'username': 'jameswahlin', 'email': 'james.wahlin@mongodb.com'}

Message: SERVER-43039 db.collection.bulkWrite doesn't support hint with replaceOne
Branch: master
https://github.com/mongodb/mongo/commit/b90eb45382cacc033a4258d0d28ce64acd307caa

Comment by James Wahlin [ 24/Sep/19 ]

Reviewing current state in master, it looks like db.collection.bulkWrite has support for updateOne and updateMany but not replaceOne. Retitled this ticket to reflect.

Comment by Charlie Swanson [ 05/Sep/19 ]

james.wahlin do you have time to pick this up next sprint?

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