-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 8.3.0, 9.1.0-rc0, 9.0.0
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2026-09-14
-
🟩 Routing and Topology
-
None
-
None
-
None
-
None
-
None
-
None
[Test only issue]
In clusterHasShardedCollections, which is used to decide between moveChunk and moveCollection when the balancerShouldReturnRandomMigrations fail point is enabled, there is this code and comment:
// Skip config.system.sessions if we are not draining as it isn't balanced as part of the random // migrations failpoint. If we are draining shards, though, we need to include this collection. if (!draining) { matchBuilder.append(CollectionType::kNssFieldName, BSON("$regex" << "^(?!config\\.).*")); }
This isn't true anymore and since SERVER-105874, in random migrations failpoint mode we balance config.system.sessions.
This ticket should remove that check. This will make the balancer respect the skipMoveCollectionThreshold setting when only config.system.sessions can be balanced, rather than always preferring moveCollection.
- is related to
-
SERVER-105874 Improve testing of larger sharded collections from a correctness point of view
-
- Closed
-
- related to
-
SERVER-134571 Avoid slow removeShard in *_with_balancer_and_config_transitions_and_add_remove_shard
-
- In Code Review
-