Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions source/tutorial/change-oplog-size.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ The examples in this procedure use the following configuration:
of ``/srv/mongodb``.

To change the size of the oplog for a replica set, use the following
procedure for every member of the set that may become primary.
procedure for every member of the set that may become primary.

1. Shut down the :program:`mongod` instance and restart it in
"standalone" mode running on a different port.
"standalone" mode running on a different port.

.. note::
.. note::

Shutting down the :term:`primary` member of the set will trigger
a failover situation and another member in the replica set will
Expand Down Expand Up @@ -77,6 +77,10 @@ procedure for every member of the set that may become primary.

mongodump --db local --collection 'oplog.rs' --port 37017

.. note::

Restore the backup using the `mongorestore` command.

Connect to the instance using the :program:`mongo` shell:

.. code-block:: sh
Expand Down