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

Apply a 1-second throttling to the sequence of merge/split chunk commands issued by the Balancer

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc4, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-05-02

      The collection defragmentation algorithm and the cluster chunks resize policy generate a continuous stream of mergeChunks and splitChunk commands issued by one of the balancer thread: each operation, when committed, triggers a refresh of the metadata caches on the secondary nodes of the affected shards (details in SERVER-62698), introducing some latency to concurrent CRUD operations.

      In order to limit the performance impact, the rate of mergeChunks and splitChunk requests needs to be throttled.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: