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

Improve PlanExecutor error logging

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1
    • None
    • 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

        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: