-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Cluster Scalability
-
Fully Compatible
-
ALL
-
v8.0
-
200
ReshardingTest#_recipientShards and ReshardingTest#_donorShards both use the ShardingTest#shard{n} member variable, which is a replset connection to the shard node. However, it does not refresh it / make sure it gets reconnected again after shutdownAndRestartPrimaryOnShard is called. It should be doing to somethign similar with ShardingTest#restartShardRS to ensure that connections are ready to use without getting network errors.
ReshardingTest#killAndRestartPrimaryOnShard also have a similar issue.