-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 3.2.0-rc0
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
- Bring up a CSRS replica set of config servers
- Try to write a document into a collection in the local database with a write concern of w: 1
-
Sharding B (10/30/15)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
CSRS config servers require majority write concern even for local database. For example:
csrs:PRIMARY> use local switched to db local csrs:PRIMARY> db.foo.insert({}, {writeConcern: { w: 1}}) WriteResult({ "writeError" : { "code" : 2, "errmsg" : "w: 'majority' is the only valid write concern when writing to config server replica sets, got: { w: 1, wtimeout: 0 }" } })
Should an exception be made in terms of the required write concern for the local database?
- is duplicated by
-
SERVER-25204 CSRS config servers require majority write concern even for local database in 3.3.10
-
- Closed
-