[SERVER-47481] Set minNumChunksForSessionsCollection to 1 on the CSRS in ShardedClusterFixture-based suites Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 14/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.2.7, 4.4.0-rc2, 4.7.0

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0, v3.6
Sprint: Sharding 2020-04-20
Participants:
Linked BF Score: 35

 Description   

SERVER-45624 introduced this parameter because it also made the balancer split the sessions collection into 1024 chunks by default.

Before SERVER-45624 our tests never created enough sessions for the initial chunk to get split, so they always ran with 1 chunk. SERVER-45624 set the parameter to 1 in servers.js, which applies to all ShardingTest-based suites, but we should also set the parameter to 1 in ShardedClusterFixture-based suites.

This should be backported as far as SERVER-45624 is backported.



 Comments   
Comment by Githook User [ 16/Apr/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-47481 Set minNumChunksForSessionsCollection to 1 on the CSRS in ShardedClusterFixture-based suites

(cherry picked from commit 4818c7b9340594a92bfd3772108ec873e57359a6)
Branch: v4.2
https://github.com/mongodb/mongo/commit/59ae5b3bcb60d20116cd7d2f8051378b53c90644

Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-47481 Set minNumChunksForSessionsCollection to 1 on the CSRS in ShardedClusterFixture-based suites

(cherry picked from commit 4818c7b9340594a92bfd3772108ec873e57359a6)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4763d4169e0f1535308ac56c741ac3afd2e5dbd2

Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-47481 Set minNumChunksForSessionsCollection to 1 on the CSRS in ShardedClusterFixture-based suites
Branch: master
https://github.com/mongodb/mongo/commit/4818c7b9340594a92bfd3772108ec873e57359a6

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