Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29770

Setting taskExecutorPoolSize server parameter at runtime should error

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL
    • Service Arch 2018-12-31, Service Arch 2019-01-14, Service Arch 2019-01-28, Service Arch 2019-02-11

      Using the setParameter command to set taskExecutorPoolSize reports no error, but ithe value is ignored. The documentation suggests, this value can't be changed using the database command.

      This occurs because in task_executor_pool.cpp, we define the parameter as follows:

      MONGO_EXPORT_SERVER_PARAMETER(taskExecutorPoolSize, int, 0);
      

      But it should be defined as

      MONGO_EXPORT_STARTUP_SERVER_PARAMETER(taskExecutorPoolSize, int, 0);
      

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: