[SERVER-38909] Permit empty update modifiers, treating as a no-op rather than an error Created: 09/Jan/19 Updated: 29/Oct/23 Resolved: 11/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 4.1.6 |
| Fix Version/s: | 4.7.0, 4.0.25, 4.2.15, 4.4.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Frank Trampe | Assignee: | Mindaugas Malinauskas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||||||||||||||||||||||||||
| Sprint: | Query 2020-08-24 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||
| Linked BF Score: | 33 | ||||||||||||||||||||||||||||||||
| Description |
|
As a few people have mentioned onĀ An action triggered via an option on a patch request to a database-driven service is a very common thing. The success of the operation is seldom desired to be contingent on the presence of patch data, and there are probably millions of lines of code in the world that work around Mongo's inconsistent treatment of empty and non-empty patches. It would be great to be able to remove them. |
| Comments |
| Comment by Githook User [ 27/May/21 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: (cherry picked from commit 96bc79c2fa95e40a917c71b4120257f8dca038d0) |
| Comment by Githook User [ 26/May/21 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: (cherry picked from commit ad51c2da0567585391d9e02529d4a495aa460c4d) |
| Comment by Githook User [ 25/May/21 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: (cherry picked from commit c24d2d002b0defbe6a300e0f20cdb9242ec78125) |
| Comment by Githook User [ 19/Aug/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: |
| Comment by Githook User [ 11/Aug/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: |
| Comment by Githook User [ 10/Aug/20 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: Revert " This reverts commit 957febbf065a51cc278c66c72f5a81ff2630201c. |
| Comment by Githook User [ 10/Aug/20 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: |
| Comment by Danny Hatcher (Inactive) [ 11/Jan/19 ] |
|
Hello Frank, Thank you for your report. Our query team will take a look at this ticket and determine the best path forward. Thank you, Danny |