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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.11
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved: