Skip to content

Commit e1454e2

Browse files
committed
DOCS-11169: Small fixes to oplogSize, oplogSizeMB, replica-set-oplog.txt
1 parent 9bc577f commit e1454e2

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

source/core/replica-set-oplog.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ replica sets have much lower operation volumes, and their oplogs can
9696
hold much higher numbers of operations.
9797

9898
Before :program:`mongod` creates an oplog, you can specify its size with
99-
the :setting:`~replication.oplogSizeMB` option. Once you have started a
99+
the :setting:`~replication.oplogSizeMB` option. Once you have started a
100100
replica set member for the first time, use the
101-
:dbcommand:`replSetResizeOplog` to change the oplog size.
102-
:dbcommand:`replSetResizeOplog` enables you to resize the oplog
103-
dynamically without restarting the :program:`mongod` process.
101+
:dbcommand:`replSetResizeOplog` administrative command to change the
102+
oplog size. :dbcommand:`replSetResizeOplog` enables you to resize the
103+
oplog dynamically without restarting the :program:`mongod` process.
104104

105105
Workloads that Might Require a Larger Oplog Size
106106
------------------------------------------------

source/includes/options-mongod.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,9 +1004,14 @@ description: |
10041004
{{intro}} maximum size in megabytes for the replication operation log
10051005
(i.e., the :term:`oplog`). The {{program}} process creates an
10061006
:term:`oplog` based on the maximum amount of space available. For 64-bit
1007-
systems, the oplog is typically 5% of available disk space. Once the
1008-
{{program}} has created the oplog for the first time, changing the
1009-
{{role}} option will not affect the size of the oplog.
1007+
systems, the oplog is typically 5% of available disk space.
1008+
1009+
Once the {{program}} has created the oplog for the first time,
1010+
changing the {{role}} option will not affect the size of the oplog.
1011+
Use the :dbcommand:`replSetResizeOplog` administrative command to
1012+
change the oplog size of a running {{program}} replica set member.
1013+
:dbcommand:`replSetResizeOplog` enables you to resize the oplog
1014+
dynamically without restarting the :program:`mongod` process.
10101015
10111016
See :ref:`replica-set-oplog-sizing` for more information.
10121017
optional: true

0 commit comments

Comments
 (0)