[SERVER-49105] Create fixed thread pool ServiceExecutor Created: 25/Jun/20  Updated: 29/Oct/23  Resolved: 22/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-49111 Remove ServiceExecutorTaskNames Closed
is depended on by SERVER-49109 Attach fixed thread pool ServiceExecu... Closed
Gantt Dependency
has to be done before SERVER-49106 Add poll function to the ServiceExecu... Closed
Related
related to SERVER-49548 Convert ServiceExecutor to use unique... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service arch 2020-07-13, Service Arch 2020-07-27
Participants:

 Description   

The common usage of ServiceExecutor is very similar to that for OutOfLineExecutor. It would be good if we can avoid adding more thread pool implementations to our system. We can make a mostly one-to-one wrapper for ThreadPool that allows us to reuse our existing code to serve this new use case. While we're here, it may make sense to have ServiceExecutor inherit from OutOfLineExecutor. This will make it easier for Command implementations to rejoin the synchronous command path.



 Comments   
Comment by Githook User [ 22/Jul/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-49105 Make ServiceExecutor extend OutOfLineExecutor
Branch: master
https://github.com/mongodb/mongo/commit/dca9e5d997042e11368c7a22e465eb07188fcc84

Comment by Githook User [ 13/Jul/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-49105 Create fixed thread pool ServiceExecutor
Branch: master
https://github.com/mongodb/mongo/commit/5893ced59bd4f54626d92b72a6a776a2f2ec2ccc

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