Implement MergeAllChunksOnShard in the chunk defragmenter

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the defragmenter implements several phases where chunks are merged by issuing a single mergeChunks command for every mergeable chunk. SPM-4060 will make mergeChunks take the critical section during commit, so it would be much better to use mergeAllChunksOnShard instead. This ticket is to implement such change.

            Assignee:
            Unassigned
            Reporter:
            Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: