[SERVER-78850] $out may fail with CursorNotFound if a movePrimary is ongoing Created: 11/Jul/23  Updated: 15/Nov/23  Resolved: 15/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Ivan Fefer
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-78852 Test movePrimary and $out running con... Closed
Assigned Teams:
Query Execution
Operating System: ALL
Sprint: QE 2023-11-27
Participants:
Linked BF Score: 5

 Comments   
Comment by Ivan Fefer [ 15/Nov/23 ]

Move primary coordinator drops donor collections when it is done.
This invalidates non-snapshot cursors, which causes $out to fail.
Locally it fails with explicit collection dropped error.
When doing remote reads, it fails with cursor not found error.

Comment by Rushan Chen [ 10/Oct/23 ]

Assigning to the primary depdency removal project to be reviewed there.

Generated at Thu Feb 08 06:39:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.