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

ReplSetTest shouldn't inspect TestData directly

    • Fully Compatible
    • ALL
    • v3.4, v3.2

      ReplSetTest uses the TestData object provided by resmoke to determine if journaling is on and if the storage engine requires persistence. If a ReplSetTest is started by mongo --nodb, there is no TestData object. This is a problem in the following two places:

      https://github.com/mongodb/mongo/blob/d55eb9d186f3039695a4d710116e79ad04536409/src/mongo/shell/replsettest.js#L623-L624
      https://github.com/mongodb/mongo/blob/d55eb9d186f3039695a4d710116e79ad04536409/src/mongo/shell/replsettest.js#L295-L296

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: