Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56146

Incorrect commitQuorum error message

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-01-10, Execution Team 2022-01-24

      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. 

       

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: