Tests should not spawn a replica set just to determine if majority read concern is supported

XMLWordPrintableJSON

    • DevProd Correctness
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: