[SERVER-71298] Auto-merging POC Created: 14/Nov/22  Updated: 25/Nov/22  Resolved: 25/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Silvia Surroca
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding EMEA 2022-11-28
Participants:

 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.

Generated at Thu Feb 08 06:18:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.