Details
Description
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?
Attachments
Issue Links
- is duplicated by
-
SERVER-25204 CSRS config servers require majority write concern even for local database in 3.3.10
-
- Closed
-