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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: