[SERVER-66078] Adapt sessions collection balacing policy to data-size aware balancing Created: 29/Apr/22  Updated: 29/Oct/23  Resolved: 01/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: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-16339 [SERVER] Remove from documentation `... Closed
Problem/Incident
causes SERVER-72065 The logical sessions cache cannot be ... Closed
causes SERVER-67898 BalancerCollectionStatus return wrong... Closed
causes SERVER-67899 configureCollectionBalancing does not... Closed
Related
is related to SERVER-45624 Pre-split and distribute chunks of se... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13
Participants:

 Description   

The sessions collection is sharded in order to spread sessions info across different nodes to avoid bottlenecks.
Sessions load distribution has always happened by balancing the number of chunks across shards; with the introduction of data-size aware balancing, we should find a way to spread documents across shards considering that they are very small (~150/200 bytes in average) and their cumulative size is often much less than the default max chunk size (meaning that if balancing would happen on data size, nothing would be considered eligible to move).



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

Author:

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

Message: SERVER-66078 Make config.system.sessions balanceable by data size criteria
Branch: v6.0
https://github.com/mongodb/mongo/commit/e316e3a005dd85ff0eca94e064d08372d90ad972

Comment by Githook User [ 01/Jun/22 ]

Author:

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

Message: SERVER-66078 Make config.system.sessions balanceable by data size criteria
Branch: master
https://github.com/mongodb/mongo/commit/d47db7491eec3f05df5021793a6a97e6f9f5c7d7

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