Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40048

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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: