File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ If the operation to roll back is a collection drop or a document
144
144
deletion, the rollback of the collection drop or document deletion
145
145
is not written to the rollback data directory.
146
146
147
+ .. include:: /includes/w-1-rollback-warning.rst
148
+
147
149
Read Rollback Data
148
150
~~~~~~~~~~~~~~~~~~
149
151
Original file line number Diff line number Diff line change
1
+ .. warning ::
2
+
3
+ In MongoDB 4.4 and later, if write operations use
4
+ :writeconcern: `{ w: 1 } <\< number\> > ` write concern, the rollback
5
+ directory may exclude writes submitted after an :term: `oplog hole `
6
+ if the primary restarts before the write operation completes.
Original file line number Diff line number Diff line change @@ -724,6 +724,13 @@ Glossary
724
724
basic mechanism enabling :term:`replication` in MongoDB.
725
725
See :doc:`/core/replica-set-oplog`.
726
726
727
+ oplog hole
728
+ A temporary gap in the oplog due to oplog writes not occurring in
729
+ sequence. Replica set :ref:`primaries <replica-set-primary>` apply
730
+ oplog entries in parallel as a batch operation. As a result,
731
+ temporary gaps in the oplog can occur from entries that are not
732
+ yet written from a batch.
733
+
727
734
oplog window
728
735
.. include:: /includes/replication/fact-oplog-window-definition.rst
729
736
Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ available:
128
128
if the primary steps down before the write operations have
129
129
replicated to any of the secondaries.
130
130
131
+ .. include:: /includes/w-1-rollback-warning.rst
132
+
131
133
``w: 0``
132
134
Requests no acknowledgment of the write operation. However, ``w:
133
135
0`` may return information about socket exceptions and
@@ -498,4 +500,3 @@ Write Concern Contrasted with Commit Quorum
498
500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
499
501
500
502
.. include:: /includes/indexes/commit-quorum-vs-write-concern.rst
501
-
You can’t perform that action at this time.
0 commit comments