PlanExecutor::executePlan() swallows the error code from a getNext() failure and replaces it with OperationFailed. This reduces the information provided about the error, and in particular, interferes with mongos retry logic, when it swallows an error code that mongos would consider retryable.
- related to
-
SERVER-32208 Remove retrying of OperationFailed in auto_retry_on_network_error.js
- Backlog