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.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: None
    • Component/s: CRUD
    • None

      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.

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

              Created:
              Updated:
              Resolved: