Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31730

PlanExecutor::executePlan() should preserve error code from getNext() failure

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc3
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2017-11-13
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: