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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc3
    • Querying
    • None
    • Fully Compatible
    • Query 2017-11-13
    • 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

              justin.seyster@mongodb.com Justin Seyster
              tess.avitabile@mongodb.com Tess Avitabile (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: