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

Improve PlanExecutor error logging

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.1, 4.3.1
    • Querying
    • None
    • Fully Compatible
    • v4.2
    • Query 2019-07-01, Query 2019-07-15
    • 11

    Description

      When a PlanExecutor fails while executing a query command, such as `find` or 'getMore', we log just a generic message using using the ERROR severity to indicate that a failure has occurred, along with some basic explain output. We do not include an error message and an error code to help diagnose the failure. This should be improved to always log the error code and the message.

      Attachments

        Issue Links

          Activity

            People

              anton.korshunov@mongodb.com Anton Korshunov
              anton.korshunov@mongodb.com Anton Korshunov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: