[SERVER-56333] Add server parameters for configuring thread pool sizes of resharding primary-only services Created: 25/Apr/21  Updated: 29/Oct/23  Resolved: 04/May/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-lifecycle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-05-17
Participants:
Story Points: 1

 Description   
  • reshardingCoordinatorServiceMaxThreadCount - defaults to 3, minimum of 1, and maximum of 256.
  • reshardingDonorServiceMaxThreadCount - defaults to 2, minimum of 1, and maximum of 256.
  • reshardingRecipientServiceMaxThreadCount - defaults to 8 (or 16 if SERVER-55330 is completed first), minimum of 1, and maximum of 256.

https://github.com/mongodb/mongo/blob/666003777e374d783ed1a450bcd4056d6ea00f95/src/mongo/db/s/resharding/resharding_server_parameters.idl#L37

Also change the default value of reshardingOplogBatchTaskCount to (reshardingRecipientServiceMaxThreadCount + 1) / 2. See the internalInsertMaxBatchSize server parameter as an example of this pattern.



 Comments   
Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-56333 Add server parameters for thread pool sizes for resharding primary only services
Branch: master
https://github.com/mongodb/mongo/commit/882fa82e21f412e6c5743e99d2d97861b28bd935

Generated at Thu Feb 08 05:38:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.