[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: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||
| Sprint: | Query 2019-10-07 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
updates can support hint ( 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: (cherry picked from commit b90eb45382cacc033a4258d0d28ce64acd307caa) |
| Comment by Githook User [ 24/Sep/19 ] |
|
Author: {'name': 'James Wahlin', 'username': 'jameswahlin', 'email': 'james.wahlin@mongodb.com'}Message: |
| 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? |