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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-11-13
    • 0

      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.

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

              Created:
              Updated:
              Resolved: