-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
This commit adds a new serverParameter initialServiceExecutorThreadingModel which can have the values "borrowed" and "dedicated". It currently defaults to "dedicated". "dedicated" means that each client is assigned a new thread that lasts while the connection is open. "borrowed" means that each client uses a thread from a pool of threads. It may be a different thread for each new operation.
Description of Linked Ticket
Once we have a fixed thread pool ServiceExecutor, we should attach it as the initial executor for new external clients. Once a connection is auth'd (if auth is enabled), we should switch the client to the ServiceExecutorSynchronous. We might want to be more discerning, but auth is the minimum criteria.
Scope of changes
Update these pages:
https://docs.mongodb.com/manual/reference/configuration-options/#mongodb-setting-net.serviceExecutor
https://docs.mongodb.com/manual/reference/program/mongod/#std-option-mongod.–serviceExecutor
https://docs.mongodb.com/manual/reference/program/mongos/#std-option-mongos.--serviceExecutor
https://docs.mongodb.com/manual/reference/configuration-file-settings-command-line-options-mapping/
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-49109 Attach fixed thread pool ServiceExecutor as initial ServiceExecutor
- Closed