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

Investigate changes in SERVER-57714: Support changing ShardingTaskExecutorPoolMinSize via setParameter without restart

      Downstream Change Summary

      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.

      (cc mira.carey@mongodb.com)

            Assignee:
            jason.price@mongodb.com Jason Price
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              18 weeks, 6 days ago