[SERVER-55496] Increase tenant migration donor service thread pool max size Created: 24/Mar/21  Updated: 29/Oct/23  Resolved: 26/Mar/21

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

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-54208 Remove blocking call to Fetcher::join... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.9
Sprint: Sharding 2021-04-05
Participants:

 Description   

The tenant migration donor service has a thread pool with a max size of 8 threads (configurable by a server parameter) that is shared by all instances running a tenant migration. UntilĀ SERVER-54208 is finished, when an instances copies cluster time keys from the recipient, it will briefly block a thread in that pool. The number of keys to copy should be small (by default one document is generated every 90 days), but to guarantee the donor service can support 50 concurrent migrations like the recipient service (as perĀ SERVER-53168) and to reduce the time pressure for SERVER-54208, the max number of threads in the donor service pool should be increased until SERVER-54208 is completed.



 Comments   
Comment by Githook User [ 26/Mar/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-55496 Increase tenant migration donor service thread pool max size

(cherry picked from commit 1dd046575dcba16ba658241485294606abbba9fe)
Branch: v4.9
https://github.com/mongodb/mongo/commit/32a03d820893d183af5c4e3499edcb5057fc27ef

Comment by Githook User [ 26/Mar/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-55496 Increase tenant migration donor service thread pool max size
Branch: master
https://github.com/mongodb/mongo/commit/1dd046575dcba16ba658241485294606abbba9fe

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