Skip to content

Commit 9e27b1a

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
Docs 14599 repl set resize oplog and reboots (#608) (#667)
* 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 cbc54ba commit 9e27b1a

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
@@ -124,14 +124,21 @@ collection. For more information on this restriction, see
124124
:ref:`oplog-coll-behavior`.
125125

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

136143
.. important::
137144

0 commit comments

Comments
 (0)