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

Default write concern should not be appended.

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

      If a collection is created with a default write concern:

      coll := db.Collection("collName", options.Collection().SetWriteConcern(writeconcern.New())),

      write operations on the collection send serialize an empty write concern but should not.

            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: