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

    • 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

      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@mongodb.com Katherine Walker (Inactive)
            Reporter:
            david.daly@mongodb.com David Daly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: