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

Auto-merging POC

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Sharding EMEA 2022-11-28

    Description

      Milestone 2 of the "no more auto-splitter" project will require the implementation of an automatic procedure to merge contiguous chunks belonging to the same shard [when possible].

      This proof of concept is aimed to prematurely identify potential roadblocks for the project by implementing the most basic merger respecting the following requirements:

      • Two or more chunks can be auto-merged only when:
      • Auto-merging happens when the balancer is active as part of balancing rounds:
        • Every N seconds (either auto-merging or migrations can happen during a round)
        • If a merge was issued during the last balancing round, then keep on merging. Else, start issuing migrations again.
      • Auto-merging is enabled by default and can be disabled via a field in config.settings. Similar to the autosplit field.

      Attachments

        Activity

          People

            silvia.surroca@mongodb.com Silvia Surroca
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: