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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.11
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 18 (08/05/16)

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: