Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2022-01-10, Execution Team 2022-01-24
Description
On attempting to build an index with a commitQuorem of 51, the following error message is returned:
MongoDB Enterprise mongos> db.test.createIndex({foo: 1}, {}, 51); |
{
|
"ok" : 0, |
"errmsg" : "commitQuorum has to be a non-negative number and not greater than 50", |
"code" : 9, |
"codeName" : "FailedToParse", |
"$clusterTime" : { |
"clusterTime" : Timestamp(1618595665, 2), |
"signature" : { |
"hash" : BinData(0,"DoXuzbbc3DFYux4CmBjsxioEjAM="), |
"keyId" : NumberLong("6950651909917114371") |
}
|
},
|
"operationTime" : Timestamp(1618595664, 7) |
}
|
commitQuorem is only supposed to apply to voting members and the upper limit for voting members is 7 rather than 50.
Attachments
Issue Links
- is related to
-
SERVER-63531 commitQuorum incorrectly includes buildIndexes:false nodes and error message incorrectly says that only voting nodes are eligible
-
- Closed
-