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

Write concern should not be encoded for certain commands based on wire version.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.2.0
    • None
    • CRUD
    • None

    Description

      command/write.go serializes all non-nil write concerns. Based on https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#other-commands-that-write, it should check the command and wire version to make sure a write concern is valid.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: