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

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Steps To Reproduce:
      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})
    • Sprint:
      Repl 2017-07-31, Repl 2017-10-02
    • Linked BF Score:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: