Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-350

Change OptWriteConcern to directly wrap a writeconcern.WriteConcern

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.9
    • 0.0.2
    • None

    Description

      Currently we place the writeconcern passed to some dispatch commands, like Aggregate, as a parameter so we can control if we actually send it. We wind up having to iterate through the options slice to determine if we need to apply our own write concern or a user's write concern.

      Once the work in GODRIVER-272 and GODRIVER-337 is complete we can have the option stacks for the collection methods extract the write concern and pass it directly as the parameter for a dispatch function.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: