Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-802

Send readConcern but not writeConcern to explain commands

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.16.0
    • Affects Version/s: 1.4.0
    • Component/s: 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:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: