[SERVER-30151] Size specification for oplog resizing Created: 14/Jul/17  Updated: 30/Oct/23  Resolved: 08/Sep/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.4.19, 3.5.13

Type: Improvement Priority: Major - P3
Reporter: Ramon Fernandez Marina Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-10811 Docs for SERVER-30151: Size specifica... Closed
Related
related to SERVER-22766 Dynamic oplog sizing for WiredTiger n... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Storage 2017-09-11, Storage 2017-10-02
Participants:

 Description   

SERVER-22766 introduced new functionality to dynamically resize the oplog in nodes running with the WiredTiger storage engine, but the code doesn't specify the units users need to use for the new size.

Discussed with geert.bosch and we decided to open a ticket to make this clearer and to help with future documentation.

Cc anonymous.user



 Comments   
Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-30151 Accept oplog resize command in MB

(cherry picked from commit b807dfe3c5e40526b2740fd83b106ce287edc4fe)
Branch: v3.4
https://github.com/mongodb/mongo/commit/79607f92debdeb3841387ff368f37764c23b913f

Comment by Ramon Fernandez Marina [ 08/Sep/17 ]

Author:

{'username': u'louiswilliams', 'name': u'Louis Williams', 'email': u'louis.williams@mongodb.com'}

Message:SERVER-30151 Accept oplog resize command in MB
Branch:master
https://github.com/mongodb/mongo/commit/b807dfe3c5e40526b2740fd83b106ce287edc4fe

Comment by Asya Kamsky [ 07/Sep/17 ]

FYI, I thought MBs would be good because that's what mongod expects as oplog size on startup:

Replication options:
  --oplogSize arg                       size to use (in MB) for replication oplog. 

Comment by Ian Whalen (Inactive) [ 21/Jul/17 ]

Discussed with Asya and the plan is to change the command to accept megabytes instead of bytes. Prioritizing as 3.5 Required because this must be fixed prior to it being released in a production version.

Generated at Thu Feb 08 04:22:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.