Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16154

chunkMigrationConcurrency parameter is not availble for setParameter in mongos

    XMLWordPrintableJSON

Details

    Description

      This doc below says the chunkMigrationConcurrency parameter is available for both mongos and mongod.

      https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.chunkMigrationConcurrency

      In fact, it's only available in mongod. Setting the parameter above on mongos throws the following errors (tested on v6.0.6 and v6.3.1):

      When done during runtime:

      [direct: mongos] admin> db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
      MongoServerError: attempted to set unrecognized parameter [chunkMigrationConcurrency], use help:true to see options
      

      When done at command line or conf file

      {"t":{"$date":"2023-05-22T04:19:20.380Z"},"s":"F",  "c":"-",        "id":22865,   "ctx":"thread1","msg":"Error during global initialization","attr":{"error":{"code":2,"codeName":"BadValue","errmsg":"Unknown --setParameter 'chunkMigrationConcurrency'"}}}
      {"t":{"$date":"2023-05-22T04:19:20.381Z"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"thread1","msg":"Shutting down","attr":{"exitCode":14}}
      

      Attachments

        Activity

          People

            kenneth.dyer@mongodb.com Kenneth Dyer
            raymond.hu@mongodb.com Raymond Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              37 weeks, 3 days ago