@@ -31,14 +31,14 @@ In replication, the ``local`` database is used to store internal replication
3131data for each member of a :term:`replica set`. The ``local`` database contains the
3232following collections used for replication:
3333
34- .. data:: system.replset
34+ .. data:: local. system.replset
3535
3636 This stores the replica set's configuration object. To view the
3737 object's configuration information, issue :method:`rs.conf()` from
3838 the :program:`mongo` shell. You can also query this collection
3939 directly.
4040
41- .. data:: oplog.rs
41+ .. data:: local. oplog.rs
4242
4343 This is the capped collection that is the :term:`oplog`. You set its
4444 size at creation using the :setting:`oplogSize` setting. To change
@@ -48,7 +48,7 @@ following collections used for replication:
4848 :ref:`replica-set-oplog-sizing` topic in the :doc:`/core/replication`
4949 document.
5050
51- .. data:: replset.minvalid
51+ .. data:: local. replset.minvalid
5252
5353 This contains an object used internally by replica sets to track sync
5454 status.
@@ -58,31 +58,20 @@ the following collections:
5858
5959- On the master:
6060
61- .. data:: oplog.$main
61+ .. data:: local. oplog.$main
6262
6363 This is the oplog for the master-slave configuration.
6464
65- .. data:: slaves
65+ .. data:: local. slaves
6666
6767 This contains information about each slave.
6868
6969- On each slave:
7070
71- .. data:: sources
71+ .. data:: local. sources
7272
7373 This contains information about the slave's master server.
7474
75- .. note:: In MongoDB versions 1.6 and higher, use replica sets instead
76- of the master-slave configuration.
77-
78- .. note::
79-
80- The local database also can include these collections:
81-
82- - me
83-
84- - pair.*. This is for replica pairs, which are deprecated.
85-
8675.. index:: replica set; oplog
8776.. _replica-set-internals-oplog:
8877
0 commit comments