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

Improve PlanExecutor error logging

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1, 4.3.1
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Query 2019-07-01, Query 2019-07-15
    • Linked BF Score:
      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

              Assignee:
              anton.korshunov Anton Korshunov
              Reporter:
              anton.korshunov Anton Korshunov
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: