[DOCS-15737] [Server] Investigate changes in SERVER-68852: Investigate handling of incorrect values for balancer settings Created: 14/Nov/22  Updated: 13/Nov/23  Resolved: 13/Feb/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.2.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: Alison Huh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-68852 Investigate handling of incorrect val... Closed
Participants:
Days since reply: 1 year, 9 weeks ago
Epic Link: DOCSP-22091

 Description   
Original Downstream Change Summary

Added json validator to config.settings collection. Now, updates/inserts on config.settings with _id: "chunksize" will be rejected if the value is invalid. And any updates/inserts where the _id is an unexpected value will be rejected.
All existing incorrect values will be left as is.

Description of Linked Ticket

While investigating uses of NaN in the balancer, it came up that if the user updates the maxChunkSize to a value not accepted by the balancer (NaN, -10, etc.), the balancer and all other operations that rely on the balancer configuration setting will fail until the setting is changed. These operations are:

  • all balancer operations
  • add shard
  • chunk autosplitting and initial chunk splitting
  • manual migrations

This ticket is to investigate whether this is a problem and if there is a way to reject the write of an invalid value rather than checking it at runtime.



 Comments   
Comment by Sarah Olson [ 07/Dec/22 ]

Document in compatibility notes. 

Comment by Education Bot [ 14/Nov/22 ]

Fix Version updated for upstream SERVER-68852:
6.2.0-rc0

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