SERVER-138049In Code Review

Allocate individual thread pools per resharding operation

Concurrent reshardings on distinct namespaces (see SERVER-136621) currently share a single PrimaryOnlyService thread pool per service. The coordinator admission cap {{max(1, (reshardingCoordinatorServiceMaxThreadCount - 1) / 3)}} exists only to keep concurrent operations from starving each other on that shared pool. Give each resharding operation its own thread pool, so concurrency scales until machine resources are the limit. the follow up work will remove the cap's dependency on MaxThreadCount

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.