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

XMLWordPrintableJSON

    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Katherine Walker (Inactive)
              Reporter:
              David Daly (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: