Skip to content

Commit a673ae4

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
Docs 14599 repl set resize oplog and reboots (#608) (#666)
* DOCS-14599-replSetResizeOplog-and-reboots * DOCS-14599-replSetResizeOplog-and-reboots * DOCS-14599-replSetResizeOplog-and-reboots Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 7a903ba commit a673ae4

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

source/reference/command/replSetResizeOplog.txt

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,21 @@ collection. For more information on this restriction, see
129129
:ref:`oplog-coll-behavior`.
130130

131131
:dbcommand:`replSetResizeOplog` overrides the maximum oplog size or
132-
minimum oplog retention period set at startup by
133-
:setting:`replication.oplogSizeMB` / :option:`--oplogSizeMB <mongod
134-
--oplogSize>` and :setting:`storage.oplogMinRetentionHours` /
135-
:option:`--oplogMinRetentionHours <mongod --oplogMinRetentionHours>`
136-
respectively. To persist the changes made by
137-
:dbcommand:`replSetResizeOplog` through a server restart, update the
138-
referenced configuration file settings or command line options passed
139-
to the :binary:`~bin.mongod`.
132+
minimum oplog retention period set at startup by:
133+
134+
- :setting:`replication.oplogSizeMB` / :option:`--oplogSizeMB <mongod
135+
--oplogSize>`, and
136+
137+
- :setting:`storage.oplogMinRetentionHours` /
138+
:option:`--oplogMinRetentionHours <mongod --oplogMinRetentionHours>`
139+
respectively.
140+
141+
The new oplog size persists after a server restart, unless
142+
you use:
143+
144+
- :setting:`storage.oplogMinRetentionHours`, or
145+
146+
- :option:`--oplogMinRetentionHours <mongod --oplogMinRetentionHours>`.
140147

141148
.. important::
142149

0 commit comments

Comments
 (0)