Skip to content

where oplog is located. #1551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 9 additions & 1 deletion source/core/replica-set-oplog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ Replica Set Oplog

The :term:`oplog` (operations log) is a special :term:`capped
collection` that keeps a rolling record of all operations that modify
the data stored in your databases. MongoDB applies database operations
the data stored in your databases. It is `oplog.rs` collection in `local` db:

.. code-block:: javascript

$ mongo
> use local
> db.oplog.rs

MongoDB applies database operations
on the :term:`primary` and then records the operations on the
primary's oplog. The :term:`secondary` members then copy and apply
these operations in an asynchronous process. All replica set members
Expand Down