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.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc5
    • Affects Version/s: 2.8.0-rc4
    • Component/s: Admin, Usability
    • Labels:
      None
    • Minor Change
    • ALL

      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?

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

              Created:
              Updated:
              Resolved: