[SERVER-74777] Get rid of `auto merge only` mode for the balancer Created: 13/Mar/23  Updated: 29/Oct/23  Resolved: 13/Mar/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-20
Participants:

 Description   

While it made sense to have an "auto split only" mode when the auto-splitter existed (pre-v6.0.3) on shards to keep chunks of similar sizes, it does not make much sense to have an "auto merge only": if the balancer is not working, then there are no chunks to merge. While if a user is manually balancing, can also manually call mergeAllChunksOnShard.

Purpose of this ticket is to remove the auto merge only mode (that has never been released yet nor properly plugged in the balancer).

The following settings will be considered in order of precedence by the balancer:

  • Global balancing
  • Balancing window
  • Per-collection balancing
  • Global automerge
  • Per-collection automerge


 Comments   
Comment by Githook User [ 13/Mar/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-74777 Get rid of `auto merge only` mode for the balancer
Branch: master
https://github.com/mongodb/mongo/commit/7be6f10766d6e04674ad59b396a14f183bee2c78

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