Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
35
Description
in secondary_reads_waitForShardingInit.js, we expect the mongos always send the request to the hanging secondary node. But, the test code does not force mongos to choose the shard which has that node. If mongos send request to another shard, the test will fail. BF-24464 hit this error case.
To fix it, we should force the mongos choose the right shard.
Also, in this js file, the way of using session should be improved too.