[SERVER-30587] Doing Upsert in Subdocuments when performing 'bulk' operations Created: 10/Aug/17 Updated: 07/Sep/17 Resolved: 11/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | efkan turen | Assignee: | Mark Agarunov |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | RF | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
This improvement can be impact to the server performance. However, in some situation it can be save our life. For example: The company offices are stored in a collection. A fictive document:
What if I need to change the 'active' value of a document and I have to insert a new document if the searched document doesn't exist in the array and I have to do this via a bulk operation?
As everybody can guess it doesn't work. |
| Comments |
| Comment by Mark Agarunov [ 11/Aug/17 ] |
|
Hello efkan, Thank you for the report. Looking over the behavior you've described, this appears to be a request for the same behavior as in Thanks, |