The sharding parameters documentation page is listing all sharding server parameters. Most of such parameters only take effect when set on some specific process (routers, shards, config server) while setting them on other processes makes no sense.
That section must be enhanced to clarify for each parameter on which kind of process(es) it makes sense to set them:
- mongos (router)
AND/OR - mongod (shards)
AND/OR - mongod (config server)
For some parameters it's clearly specified on which nodes they must be set while others are under-documented in this regard.
Examples:
- For balancerMigrationsThrottlingMs it's clearly stated that "This parameter only takes effect on config server nodes."
- For chunkDefragmentationThrottlingMS there is no such indication, even though also this parameter only takes effect on config server nodes