[SERVER-78657] Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection` Created: 04/Jul/23  Updated: 29/Oct/23  Resolved: 24/Aug/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 6.0.7, 7.0.0-rc6
Fix Version/s: 7.1.0-rc0, 7.0.2

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

Issue Links:
Backports
Depends
is depended on by SERVER-80369 Remove deprecated `minNumChunksForSes... Backlog
Documented
is documented by DOCS-16342 [SERVER] Investigate changes in SERVE... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04
Participants:
Story Points: 2

 Description   

Starting from v6.0, the balancer is distributing data based on the data size on shards and not merely on the number of chunks. Because of that, it is totally useless to presplit the session collection during balancing rounds and it's also counterproductive because (1) chunks will not be moved and (2) starting from v7.0 the auto merger will squash them back together.



 Comments   
Comment by Githook User [ 25/Aug/23 ]

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-78657 Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`

(cherry picked from commit 2d340534b1acce98965b7ef9ccc96f3a73c3a86e)
Branch: v7.0
https://github.com/mongodb/mongo/commit/579d9319198d67dbd70de792fd4e7bf9d08b4205

Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-78657 Get rid of `getSplitCandidatesForSessionsCollection` and `minNumChunksForSessionsCollection`
Branch: master
https://github.com/mongodb/mongo/commit/2d340534b1acce98965b7ef9ccc96f3a73c3a86e

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