-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Correctness
This function is used in many tests to determine if the storage engine supports majority read concern: https://github.com/mongodb/mongo/blob/4cc82e953bcfcb355cccf47ba5bb696e7aa7a057/jstests/multiVersion/libs/causal_consistency_helpers.js#L72-L80.
This starts replica set and then stops it, just to start a new one for the test. This is wasteful.