[SERVER-67346] Disable autosplit on config.system.sessions when upgrading the cluster to avoid crashes on shard primaries Created: 17/Jun/22  Updated: 29/Oct/23  Resolved: 20/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.3, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-06-27
Participants:

 Description   

Up until v6.0, the chunk splitter is hitting an invariant in case the configured chunk size for a collection is below 1MB. With the changes committed under SERVER-66078, the session collection default chunk size has been decreased to 200KB. Purpose of this ticket is to disable auto-split for the sessions collection in order to avoid hitting the invariant when upgrading to a version with the "no more auto splitter" feature flag active. This is safe because when upgrading, data-size aware balancing will start hence the auto-splitter can be safely disabled.



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-67346 Disable autosplit on config.system.sessions when upgrading the cluster
Branch: v6.0
https://github.com/mongodb/mongo/commit/ceeb5b9847174009b8a6ea478ae6a8f3bd6eec40

Comment by Githook User [ 20/Jun/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-67346 Disable autosplit on config.system.sessions when upgrading the cluster to 6.1
Branch: master
https://github.com/mongodb/mongo/commit/b06eb97f6f440a52010eef40f1da7af5fa3a2a0f

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