[SERVER-80853] $out on secondary node can produce incorrect results if primary steps down Created: 07/Sep/23 Updated: 16/Jan/24 |
|
| Status: | In Code Review |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Parker Felix |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
1. $out starts on a secondary. It creates a `temp` collection and starts writing to it. |
| Comments |
| Comment by Katya Kamenieva [ 03/Oct/23 ] |
|
The issue is that the failure is not reported. It looks like a successful operation to the user. It should produce an error. |
| Comment by Mihai Andrei [ 03/Oct/23 ] |
|
Note that this was a known limitation when this feature was implemented during the 4.4 release cycle. From the scope: |