diff --git a/source/tutorial/change-oplog-size.txt b/source/tutorial/change-oplog-size.txt index 28ebc38203e..5a0a215b0a5 100644 --- a/source/tutorial/change-oplog-size.txt +++ b/source/tutorial/change-oplog-size.txt @@ -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 @@ -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