|
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}}
|
|