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

mongoc_bulkwrite_execute does not report last-used server_id for unacknowledged writes

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 1.28.0
    • Component/s: None
    • None
    • C Drivers

      mongoc_bulkwrite_execute only reports the last-used server_id within mongoc_bulkwritereturn_t.res, which is a mongoc_bulkwriteresult_t. Since that struct is not used with an unacknowledged write concern, this means that unacknowledged writes can never report a server.

      PHPC previously reported the server in its legacy bulk write API, but may be unable to do so with the new API.

      Note: I reported this issue just to record this feedback and highlight the missing functionality. There is no immediate need to move forward with this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: