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

Refactor mongoc_write_command_t's options handling

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      CDRIVER-2331 made a mess of our write command path, especially how it handles "opts". Some "opts" documents apply to individual operations within a write command, e.g. opts that contain "arrayFilters", other "opts" apply to the entire write command, e.g. opts that contain "writeConcern". Some options are contained in BSON documents, others are in the (unfortunately public and immutable) mongoc_bulk_write_flags_t struct.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: