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

Remove storage.mmapv1.syncPeriodSecs and storage.wiredTiger.engineConfig.checkpointDelaySecs; use storage.syncPeriodSecs for both.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.8.0-rc4
    • 2.8.0-rc5
    • Admin, Usability
    • None
    • Minor Change
    • ALL

    Description

      a.k.a YAML config file contents should === getCmdLineOpts.parsed

      If you start a mongod instance with the following config file:

      net:
        port: 27002
      processManagement:
        fork: "true"
      replication:
        replSetName: blue
      storage:
        dbPath: /tmp/data/blue_2
        syncPeriodSecs: 30
      systemLog:
        destination: file
        path: /tmp/data/blue_2/mongodb.log
      

      and then run getCmdLineOpts you will get back:

      "parsed" : {
      		"config" : "/tmp/data/blue_2/automation-mongod.conf",
      		"net" : {
      			"port" : 27002
      		},
      		"processManagement" : {
      			"fork" : true
      		},
      		"replication" : {
      			"replSetName" : "blue"
      		},
      		"storage" : {
      			"dbPath" : "/tmp/data/blue_2",
      			"mmapv1" : {
      				"syncPeriodSecs" : 30
      			},
      			"wiredTiger" : {
      				"engineConfig" : {
      					"checkpointDelaySecs" : 30
      				}
      			}
      		},
      		"systemLog" : {
      			"destination" : "file",
      			"path" : "/tmp/data/blue_2/mongodb.log"
      		}
      	},
      

      It seems unexpected that this includes wiredTiger options?

      Attachments

        Issue Links

          Activity

            People

              milkie@mongodb.com Eric Milkie
              cailin.nelson@mongodb.com Cailin Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: