[DOCS-16154] chunkMigrationConcurrency parameter is not availble for setParameter in mongos Created: 22/May/23  Updated: 30/Oct/23  Resolved: 14/Jun/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Minor - P4
Reporter: Raymond Hu Assignee: Kenneth Dyer
Resolution: Fixed Votes: 0
Labels: quick-win
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 37 weeks, 3 days ago

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


Generated at Thu Feb 08 08:14:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.