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

Ensure explain command is retried when it fails on retryable errors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-10-28
    • 0

      BF-35080 detected an issue where an explain command that is marked for killing returns a result that is not retryable. The reason for that is that the isSuccess() function that checks whether or not the command has failed, does not check for the error code with the executionStats object, but rather only for 'ok' attribute not being 1, as well as well as 'writeErrors' and 'nErrors'.

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: