Don't add readPreference to explain commands

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-08-04
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Adding the readPreference to explain commands in cmd_object_utils.js:getExplainCommand() prevents the command from being ran against secondary nodes. 

              Assignee:
              Catalin Sumanaru
              Reporter:
              Catalin Sumanaru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: