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

Add startupWarning when a replset node is running with --nojournal but hasn't set writeConcernMajorityJournalDefault to false

    XMLWordPrintable

Details

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

      ./mongod --replSet=test --nojournal
      

      In the mongo shell:

      rs.initiate()
      db.test.insert({})
      db.test.drop()
      db.runCommand("listCollections", {includePendingDrops: true})
      

      Show
      ./mongod --replSet=test --nojournal In the mongo shell: rs.initiate() db.test.insert({}) db.test.drop() db.runCommand("listCollections", {includePendingDrops: true})
    • Repl 2017-07-31, Repl 2017-10-02
    • 0

    Description

      If a replica set is running without journaling it should set the writeConcernMajorityJournalDefault in the replica set config to false. If this isn't done there will be multiple issues, including that w:majority write concerns will never complete and that two-phase collection drops will never actually drop the actual underlying WT tables.

      Attachments

        Issue Links

          Activity

            People

              katherine.walker@mongodb.com Katherine Walker (Inactive)
              david.daly@mongodb.com David Daly
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: