[SERVER-43618] taskExecutorPoolSize should be a startup only server parameter Created: 25/Sep/19 Updated: 19/Oct/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 4.0 Required |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | peng zhenyi | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | sa-remove-fv-backlog-22 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||
| Steps To Reproduce: | 1. Run the following command, returns OK, but pool size is not changed actually
2. Declare taskExecutorPoolSize to be a MONGO_EXPORT_STARTUP_SERVER_PARAMETER, then error is returned as expected.
|
||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||
| Case: | (copied to CRM) |
| Description |
|
TaskExecutorPoolSize should not be modified in runtime, according to document: https://docs.mongodb.com/v4.0/reference/parameters/#param.taskExecutorPoolSize But it is declared to be a MONGO_EXPORT_SERVER_PARAMETER which can be set at startup or at runtime. So when I run the setParameter command, it returns OK. but pool size is not changed actually. |
| Comments |
| Comment by peng zhenyi [ 15/Sep/21 ] | ||||||||||||||||||||||||||
|
I can reproduce this issue in version 5.1.0 :
SetParameter and getParameter are ok. But actually taskExecutorPoolSize is not changed | ||||||||||||||||||||||||||
| Comment by peng zhenyi [ 15/Sep/21 ] | ||||||||||||||||||||||||||
|
Branch master: https://github.com/mongodb/mongo/pull/1416 | ||||||||||||||||||||||||||
| Comment by peng zhenyi [ 25/Sep/19 ] | ||||||||||||||||||||||||||
|
Branch v4.0: https://github.com/mongodb/mongo/pull/1325 |