[SERVER-46599] Test that writeErrors are promoted to top-level errors for $merge on secondary Created: 03/Mar/20 Updated: 29/Oct/23 Resolved: 06/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.4
|
||||
| Sprint: | Query 2020-03-09, Query 2020-03-23 | ||||
| Participants: | |||||
| Description |
|
When an insert or update command issued by an $out/$merge to the replica set primary returns writeErrors, this should result in the $out/$merge failing with a top-level command error. We should test that this works as expected. |
| Comments |
| Comment by Githook User [ 11/Mar/20 ] |
|
Author: {'username': 'gregorynoma', 'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com'}Message: (cherry picked from commit e54692ac9e4aa2f9c8461b5843550be605f46ef8) |
| Comment by Githook User [ 06/Mar/20 ] |
|
Author: {'name': 'Gregory Noma', 'username': 'gregorynoma', 'email': 'gregory.noma@gmail.com'}Message: |