[DOCS-16118] [Server] Get rid of `autoSplitOnly` balancing mode Created: 10/May/23  Updated: 13/Nov/23  Resolved: 11/Sep/23

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Minor - P4
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-75757 Get rid of `autoSplitOnly` balancing ... Closed
Participants:
Days since reply: 21 weeks, 2 days ago

 Description   
Original Downstream Change Summary

The page talking about balancing modes should specify that currently we only support "full" and "off" modes. Any other mode will be ignored and be equivalent to balancer "off".

Description of Linked Ticket

The autoSplitOnly balancer configuration is currently technically equivalent to balancing off. It is still present in order to avoid breaking balancer settings parsing.

Proposed solution 1:

  • Write an upgrade procedure that changes the persisted autoSplitOnly value to off
  • Get rid of the autoSplitOnly mode

Proposed solution 2:

  • Get rid of the autoSplitOnly mode
  • Ignore parsing errors: if an unknown mode is set, balancer mode is considered off. And a warning must be logged when an invalid mode is set.


 Comments   
Comment by Joseph Dougherty [ 11/Sep/23 ]

We do not specify how to update the "mode" field, so there's nothing to change. The user doesn't have a way to update this value.

Comment by Joseph Dougherty [ 11/Sep/23 ]

That works for me. Thanks pierlauro.sciarelli@mongodb.com

Comment by Pierlauro Sciarelli [ 11/Sep/23 ]

Hey Joseph, great to know that option was not documented already Then I guess we can simply close this ticket, thank you for double checking!

Comment by Joseph Dougherty [ 11/Sep/23 ]

Hello matt.panton@mongodb.com pierlauro.sciarelli@mongodb.com!

I'm curious where we should document this as I can't find anywhere in the manual where we specify how to update the "mode" value.

 

I see we detail the two modes on this page – can users manually update the "mode"? If so, how?

Thanks!

Generated at Thu Feb 08 08:14:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.