Details
Description
Send this commands through a shell connect to mongos:
db.use.insert({x:1})
|
db.runCommand({ getLastError: 1, w: 'adf' })
|
results with writeMode commands/legacy:
{
|
"n" : 0,
|
"errmsg" : "could not enforce write concern :: caused by :: BadValue cannot use non-majority 'w' mode adf when a host is not a member of a replica set",
|
"ok" : 0
|
}
|
results with compatibility:
{
|
"n" : 0,
|
"shards" : [ ],
|
"shardRawGLE" : {
|
|
},
|
"err" : null,
|
"ok" : 1
|
}
|
Attachments
Issue Links
- depends on
-
SERVER-13049 Inconsistent gle behavior between mongos and mongod
-
- Closed
-