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.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc4
    • Fix Version/s: 2.8.0-rc5
    • Component/s: Admin, Usability
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      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

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

                Dates

                Created:
                Updated:
                Resolved: