Setting taskExecutorPoolSize server parameter at runtime should error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Benjamin Caimano (Inactive)
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: