-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding NYC
-
Fully Compatible
-
ALL
-
v7.2
-
Cluster Scalability 2023-11-13, Cluster Scalability 2023-11-27, Cluster Scalability 2023-12-11
-
35
With auto-bootstrapping, it is not guaranteed that once `new ShardingTest` returns, the host field for the config shard's shard entry will contain all of the members of the replica set.
This is because with auto-bootstrapping, the host field will initially only contain the auto-bootstrapped node. The shard entry will only get updated to contain all of the nodes in the replica set when a mongos notices the config server replica set's other members (which can happen after `new ShardingTest` returns).
This is not a issue without auto-bootstrapping because the config shard is only created after the user has fully initiated their replica set.