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

Add server parameters for configuring thread pool sizes of resharding primary-only services

    • Fully Compatible
    • Sharding 2021-05-17
    • 1

      • reshardingCoordinatorServiceMaxThreadCount - defaults to 3, minimum of 1, and maximum of 256.
      • reshardingDonorServiceMaxThreadCount - defaults to 2, minimum of 1, and maximum of 256.
      • reshardingRecipientServiceMaxThreadCount - defaults to 8 (or 16 if SERVER-55330 is completed first), minimum of 1, and maximum of 256.

      https://github.com/mongodb/mongo/blob/666003777e374d783ed1a450bcd4056d6ea00f95/src/mongo/db/s/resharding/resharding_server_parameters.idl#L37

      Also change the default value of reshardingOplogBatchTaskCount to (reshardingRecipientServiceMaxThreadCount + 1) / 2. See the internalInsertMaxBatchSize server parameter as an example of this pattern.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: