Ensure explain command is retried when it fails on retryable errors

XMLWordPrintableJSON

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

      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
            Reporter:
            Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: