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

Setting taskExecutorPoolSize server parameter at runtime should error

    XMLWordPrintable

    Details

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

      Description

      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);
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: