Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-428

Support lastOp and electionId situational fields in write result

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.2.0
    • Affects Version/s: 1.0.0
    • Component/s: libmongoc
    • None

      Situational Fields from the write command spec refers to several situational (i.e. optional) fields in the write result. While nModified and upserted are supported, I didn't find anything in the driver for lastOp and electionId. The fields are absent from the internal result struct and there's no reference to them in _mongoc_write_result_complete().

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: