[SERVER-16734] Remove storage.mmapv1.syncPeriodSecs and storage.wiredTiger.engineConfig.checkpointDelaySecs; use storage.syncPeriodSecs for both. Created: 06/Jan/15  Updated: 05/Nov/15  Resolved: 09/Jan/15

Status: Closed
Project: Core Server
Component/s: Admin, Usability
Affects Version/s: 2.8.0-rc4
Fix Version/s: 2.8.0-rc5

Type: Bug Priority: Major - P3
Reporter: Cailin Nelson Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-4629 Update storage.syncPeriodSecs descrip... Closed
Related
is related to SERVER-16132 implement directoryperdb under WiredT... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Participants:

 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?



 Comments   
Comment by Githook User [ 08/Jan/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-16734 remove checkpointDelaySecs and use syncPeriodSecs instead
Branch: master
https://github.com/mongodb/mongo/commit/c887b101db8d314d571f7c32ac79c5ca5dbec401

Comment by Eric Milkie [ 06/Jan/15 ]

We've decided to un-alias "syncdelay" from storage.mmapv1.syncPeriodSecs and storage.wiredTiger.engineConfig.checkpointDelaySecs.
This means that "syncdelay" will remain an alias for "storage.syncPeriodSecs", as it was in 2.6.
storage.mmapv1.syncPeriodSecs and storage.wiredTiger.engineConfig.checkpointDelaySecs will not exist.
In 2.8, "syncdelay" / "storage.syncPeriodSecs" will work with mmapv1 as it did in 2.6, and will also have the same behavior as the formerly proposed "checkpointDelaySecs" option in WiredTiger.

Generated at Thu Feb 08 03:42:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.