Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25204

CSRS config servers require majority write concern even for local database in 3.3.10

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 18 (08/05/16)

      CSRS config servers require majority write concern even for local database in 3.3.10.

      2016-07-21T16:30:11.432-0400 I CONTROL  [initandlisten] ** NOTE: This is a development version (3.3.10) of MongoDB.
      csrs_set:PRIMARY> use local
      switched to db local
      csrs_set:PRIMARY> db.x.insert({"x" : 1}, {writeConcern:{w:1}})
      WriteResult({
          "writeError" : {
              "code" : 2,
              "errmsg" : "w:'majority' is the only valid write concern when writing to config servers, got: { w: 1, wtimeout: 0 }"
          }
      })
      

      This was changed for the local db in 3.2 (SERVER-20945), but it's back in 3.3.10. Can we make the exception again for the local database in 3.4?

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            louisa.berger@mongodb.com Louisa Berger
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: