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

Mongod servers started through the shell do not respect TestData.enableMajorityReadConcern

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Repl 2018-11-19
    • 115

    Description

      We only add enableMajorityReadConcern to the command line arguments if it is set to true in the TestData. This means that mongods started test fixtures do not respect TestData.enableMajorityReadConcern="false". Passthroughs are unaffected. Instead of checking whether jsTest.options().enableMajorityReadConcern is true, we should check that it is not equal to undefined. We should also add a test to ensure that if we set TestData.enableMajorityReadConcern, then the server reports that it does not support committed reads.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: