Send readConcern but not writeConcern to explain commands

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.16.0
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      FindAndModify::createCommandDocument() does not include the writeConcern option, as is done for some other commands (e.g. Update::getCommandDocument()). This only affects the Explainable API (PHPLIB-156), so it's not a critical omission.

      While addressing this ticket, we should examine other getCommandDocument() methods and confirm that they set all command options that may be relevant for the explain command.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: