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

Refactor mongoc_write_command_t's options handling

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: