-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
The ShardingTaskExecutorPool parameters can all be set during runtime (see https://github.com/10gen/mongo/blob/89bc7e2241fd1e2fcd34f7226a5d5f50b543d33f/src/mongo/s/sharding_task_executor_pool.idl#L38 for reference) but our documentation indicates that these parameters can only be set during startup. The documentation should be updated to indicate that these settings can be changed at runtime as well.
Description of Linked Ticket
Currently, changing ShardingTaskExecutorPoolMinSize requires a restart.
But safe settings require consideration of total router count. So, in clusters that use this setting to keep connection pools as warm as possible, adding or removing shards requires a restart of all routers.
Allowing ShardingTaskExecutorPoolMinSize to be configured via setParameter without restart allows shards to be added and removed without the added operational complexity and service interruption.
Note that the related setting, ShardingTaskExecutorPoolMaxSize, is not as coupled to router count as the min size is. But as these settings are commonly paired it probably makes sense to allow both to be changed without restart. That said, *MinSize is more important to be able to change on the fly.
- documents
-
SERVER-57714 Support changing ShardingTaskExecutorPoolMinSize via setParameter without restart
- Closed