WriteConcern should always set journal/fsync boolean args

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.6.0
    • Affects Version/s: 0.5.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, WriteResult only sets journal and fsync if the constructor arguments are true. As of CDRIVER-580, libmongoc differentiates between set (either true or false) or unset values. We would also like to do that in the debug handler (PHPC-179).

      The constructor should always set the boolean value (if passed) on the underlying mongoc_write_concern_t struct.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: