Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding 2019-05-20
Description
The chunks helper for concurrency workloads has a function to retrieve the primary replica set node from a shard.
If this function doesn't find a primary node from any of the current nodes, it returns immediately. This is not stepdown-proof, as a node could be transitioning to primary but not yet reporting isMaster: true.
We should use assert.soon with a short-ish timeout instead of immediately returning and failing a test, similar to what the replica set test class does.
Attachments
Issue Links
- is depended on by
-
SERVER-39844 Create concurrency workload with migrations and shard key value updates
-
- Closed
-