[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:
Backports
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: SERVER-46599 Test that writeErrors are promoted to top-level errors for $merge on secondaries

(cherry picked from commit e54692ac9e4aa2f9c8461b5843550be605f46ef8)
Branch: v4.4
https://github.com/mongodb/mongo/commit/cc26e2f3e07571d604468bdaf810a8fffa8c877c

Comment by Githook User [ 06/Mar/20 ]

Author:

{'name': 'Gregory Noma', 'username': 'gregorynoma', 'email': 'gregory.noma@gmail.com'}

Message: SERVER-46599 Test that writeErrors are promoted to top-level errors for $merge on secondaries
Branch: master
https://github.com/mongodb/mongo/commit/e54692ac9e4aa2f9c8461b5843550be605f46ef8

Generated at Thu Feb 08 05:11:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.