[SERVER-3209] make InsertOption_KeepGoing work on update Created: 06/Jun/11  Updated: 06/Dec/22

Status: Open
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: features we're not sure of

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

Also should have getLastError return the docs that failed.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 19/Oct/11 ]

I think the more common case would be a $set to something that violates unique key.
But not sure on all the semantics...
This is not a top priority.

Comment by Mathias Stearn [ 18/Oct/11 ]

Am I correct in assuming that the idea is to support multi-updates where the update fails on some docs due to their structure (e.g. $push onto a number) but works correctly on others? Do we really want another flag to update or should this just be the new behavior for when multi=true (meaning it will update all it can and ignore those it can't)?

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