Skip to content

Commit f78854d

Browse files
authored
DOCSP-26700 Removes EOL version references from Replication - v4.4 (#2249)
* DOCSP-26700 Removes EOL version references from Replication (#2194) * Fixes build error
1 parent 47c74c2 commit f78854d

21 files changed

+64
-149
lines changed

source/core/replica-set-elections.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,12 @@ Factors and Conditions that Affect Elections
4949
Replication Election Protocol
5050
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5151

52-
.. versionchanged:: 4.0
53-
54-
MongoDB 4.0 removes the deprecated replication protocol version 0.
55-
5652
Replication :rsconf:`protocolVersion: 1 <protocolVersion>` reduces
5753
replica set failover time and accelerate the detection of multiple
5854
simultaneous primaries.
5955

60-
With protocolVersion 1, you can use
61-
:rsconf:`~settings.catchUpTimeoutMillis` to prioritize between faster
62-
failovers and preservation of :writeconcern:`w:1 <\<number\>>` writes.
56+
You can use :rsconf:`~settings.catchUpTimeoutMillis` to prioritize between
57+
faster failovers and preservation of :writeconcern:`w:1 <\<number\>>` writes.
6358

6459
For more information on ``pv1``, see
6560
:doc:`/reference/replica-set-protocol-versions`.

source/core/replica-set-oplog.txt

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ The :term:`oplog` (operations log) is a special :term:`capped
1616
collection` that keeps a rolling record of all operations that modify
1717
the data stored in your databases.
1818

19-
.. versionchanged:: 4.0
20-
21-
Starting in MongoDB 4.0, unlike other capped collections, the oplog
22-
can grow past its configured size limit to avoid deleting the
23-
:data:`majority commit point <replSetGetStatus.optimes.lastCommittedOpTime>`.
19+
Unlike other capped collections, the oplog
20+
can grow past its configured size limit to avoid deleting the
21+
:data:`majority commit point <replSetGetStatus.optimes.lastCommittedOpTime>`.
2422

2523
.. versionadded:: 4.4
2624

@@ -217,8 +215,7 @@ information.
217215
Slow Oplog Application
218216
----------------------
219217

220-
Starting in version 4.2 (also available starting in version 4.0.6),
221-
secondary members of a replica set now log oplog entries that take
218+
Secondary members of a replica set log oplog entries that take
222219
longer than the slow operation threshold to apply. These messages are
223220
:option:`logged <mongod --logpath>` for the secondaries under the
224221
:data:`REPL` component with the text ``applied op: <oplog entry> took
@@ -256,11 +253,10 @@ Oplog Collection Behavior
256253

257254
You cannot :dbcommand:`drop` the ``local.oplog.rs`` collection from any
258255
replica set member if your MongoDB deployment uses the :ref:`WiredTiger
259-
Storage Engine <storage-wiredtiger>`. Starting in v4.2, you cannot drop
260-
the ``local.oplog.rs`` collection from a standalone MongoDB instance,
261-
and we recommend that you do not drop the collection from a standalone
262-
MongoDB v4.0 instance. The :ref:`mongod` requires the oplog for both
263-
:ref:`replication` and recovery of a node if the node goes down.
256+
Storage Engine <storage-wiredtiger>`. You cannot drop
257+
the ``local.oplog.rs`` collection from a standalone MongoDB instance.
258+
:binary:`~bin.mongod` requires the oplog for
259+
both :ref:`replication` and recovery of a node if the node goes down.
264260

265261
Starting in MongoDB 4.4.2, it is no longer possible to perform manual
266262
write operations to the :doc:`oplog </core/replica-set-oplog>` on a

source/core/replica-set-rollbacks.txt

Lines changed: 9 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ Collect Rollback Data
4141
Configure Rollback Data
4242
~~~~~~~~~~~~~~~~~~~~~~~
4343

44-
Starting in version 4.0, MongoDB adds the parameter
45-
:parameter:`createRollbackDataFiles` to control whether or not rollback
46-
files are created during rollbacks.
44+
The :parameter:`createRollbackDataFiles` parameter
45+
controls whether or not rollback files are created during rollbacks.
4746

4847
.. _replica-set-rollback-data:
4948

@@ -115,7 +114,7 @@ By default, when a rollback occurs, MongoDB writes the rollback data to
115114
if (foundcollection) { break; }
116115
}
117116

118-
.. tab:: MongoDB 4.2-4.0
117+
.. tab:: MongoDB 4.2
119118
:tabid: 4.2
120119

121120
For each collection whose data is rolled back, the
@@ -137,20 +136,6 @@ By default, when a rollback occurs, MongoDB writes the rollback data to
137136

138137
where ``<dbpath>`` is the :binary:`~bin.mongod`'s :setting:`~storage.dbPath`.
139138

140-
.. tab:: MongoDB 3.6 and earlier
141-
:tabid: 3.6
142-
143-
In versions 3.6 and earlier, rollback files are located directly under the
144-
``<dbpath>/rollback`` directory with the filenames of the form
145-
``<db>.<collection>.<timestamp>.bson``.
146-
147-
For example, if data for the collection ``comments`` in the
148-
``reporting`` database rolled back:
149-
150-
.. code-block:: none
151-
:copyable: false
152-
153-
<dbpath>/rollbacktest.col.2020-02-19T04-46-22.0.bson
154139

155140
Rollback Data Exclusion
156141
~~~~~~~~~~~~~~~~~~~~~~~
@@ -219,35 +204,19 @@ Index Operations When :readconcern:`"majority"` Read Concern is Disabled
219204
Size Limitations
220205
~~~~~~~~~~~~~~~~
221206

222-
.. versionchanged:: 4.0
223-
224-
Starting in version 4.0, MongoDB has no limit on the amount of data
225-
that can be rolled back.
226-
227-
In previous versions, a :binary:`~bin.mongod` instance will not
228-
roll back more than 300 megabytes of data and requires manual
229-
intervention if more than 300 megabytes of data need to be rolled back.
207+
MongoDB does not limit the amount of data you can roll back.
230208

231209
.. _rollback-time-limit:
232210

233211
Rollback Elapsed Time Limitations
234212
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235213

236-
Starting in version 4.0, the rollback time limit defaults to 24 hours
237-
and is configurable using the parameter
238-
:parameter:`rollbackTimeLimitSecs`:
239-
240-
- In MongoDB 4.2+ and 4.0.13+, the rollback time limit is calculated
241-
between the first operation after the common point and the last point
242-
in the oplog for the member to roll back.
243-
244-
- In MongoDB 4.0.0-4.0.12, the rollback time limit is calculated between the
245-
common point and the last point in the oplog for the member to roll
246-
back.
214+
The rollback time limit defaults to 24 hours and is configurable using
215+
the :parameter:`rollbackTimeLimitSecs` parameter.
247216

248-
In MongoDB 3.6 and earlier, the rollback time limit is not configurable.
249-
For these versions, rollback is limited by the amount of data, with a
250-
maximum of 300 megabytes.
217+
MongoDB measures elapsed time as the time between the first common
218+
operation in the oplogs to the last entry in the oplog of the member
219+
being rolled back.
251220

252221
.. seealso::
253222

source/core/replica-set-sync.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,13 @@ improve concurrency. MongoDB groups batches by document id (:ref:`WiredTiger
251251
operations using a different thread. MongoDB always applies write
252252
operations to a given document in their original write order.
253253

254-
.. versionchanged:: 4.0
255-
256-
Starting in MongoDB 4.0, read operations that
254+
Read operations that
257255
:ref:`target secondaries <replica-set-read-preference>` and are
258256
configured with a :ref:`read concern<read-concern>` level of
259-
:readconcern:`"local"` or :readconcern:`"majority"` will now read from
257+
:readconcern:`"local"` or :readconcern:`"majority"` read from
260258
a :ref:`WiredTiger<storage-wiredtiger>` snapshot of the data if the read
261259
takes place on a secondary where replication batches are being applied.
260+
262261
Reading from a snapshot guarantees a consistent view of the
263262
data, and allows the read to occur simultaneously with the ongoing
264263
replication without the need for a lock. As a result, secondary reads

source/core/transactions-in-applications.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,6 @@ clusters)*, clients :red:`must` use MongoDB drivers updated for MongoDB
362362

363363
.. include:: /includes/list-4.2-drivers.rst
364364

365-
*For transactions on MongoDB 4.0 replica sets*, clients require MongoDB
366-
drivers updated for MongoDB 4.0 or later.
367-
368-
.. include:: /includes/list-4.0-drivers.rst
369-
370-
371365
.. _transactions-retry:
372366

373367
Transaction Error Handling

source/includes/extracts-4.2-changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ content: |
9797
ref: 4.2-changes-slow-oplog-log-message-footnote
9898
content: |
9999
100-
Starting in version 4.2 (also available starting in 4.0.6), secondary
100+
Starting in version 4.2, secondary
101101
members of a replica set now :ref:`log oplog entries
102102
<slow-oplog-application>` that take longer than the slow operation
103103
threshold to apply. These slow oplog messages:
@@ -116,7 +116,7 @@ content: |
116116
- May be affected by :setting:`~operationProfiling.slowOpSampleRate`,
117117
depending on your MongoDB version:
118118
119-
- In MongoDB 4.2 and earlier, these slow oplog entries are not
119+
- In MongoDB 4.2, these slow oplog entries are not
120120
affected by the :setting:`~operationProfiling.slowOpSampleRate`.
121121
MongoDB logs all slow oplog entries regardless of the sample rate.
122122

source/includes/extracts-changestream.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ content: |
182182
ref: changestream-disable-rc-majority
183183
content: |
184184
185-
Disabling :readconcern:`"majority"` read concern disables support
186-
for :doc:`/changeStreams` for MongoDB 4.0 and earlier. For MongoDB
187-
4.2+, disabling read concern ``"majority"`` has no effect on change
185+
Disabling :readconcern:`"majority"` read concern has no effect on change
188186
streams availability.
189187
---
190188
ref: changestream-rc-majority-4.2

source/includes/extracts-default-bind-ip-security.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,37 @@
11
ref: default-bind-ip-security-command-line
22
content: |
33
4-
Starting in MongoDB 3.6, :binary:`~bin.mongod` and :binary:`~bin.mongos`
4+
:binary:`~bin.mongod` and :binary:`~bin.mongos`
55
bind to localhost by default. If the members of your deployment are
66
run on different hosts or if you wish remote clients to connect to
7-
your instance, you must specify the ``--bind_ip`` option. For more
8-
information, see :ref:`3.6-bind_ip-compatibility`.
7+
your instance, you must specify the ``--bind_ip`` option.
98
109
---
1110
ref: default-bind-ip-security-config-file
1211
content: |
1312
14-
Starting in MongoDB 3.6, :binary:`~bin.mongod` and :binary:`~bin.mongos`
13+
:binary:`~bin.mongod` and :binary:`~bin.mongos`
1514
bind to localhost by default. If the members of your deployment are
1615
run on different hosts or if you wish remote clients to connect to
1716
your deployment, you must specify the :setting:`net.bindIp` setting.
18-
For more information, see :ref:`3.6-bind_ip-compatibility`.
1917
---
2018
ref: default-bind-ip-security
2119
content: |
2220
23-
Starting in MongoDB 3.6, :binary:`~bin.mongod` and :binary:`~bin.mongos`
21+
:binary:`~bin.mongod` and :binary:`~bin.mongos`
2422
bind to localhost by default. If the members of your deployment are
2523
run on different hosts or if you wish remote clients to connect to
2624
your deployment, you must specify ``--bind_ip`` or
27-
:setting:`net.bindIp`. For more information, see
28-
:ref:`3.6-bind_ip-compatibility`.
25+
:setting:`net.bindIp`.
2926
---
3027
ref: default-bind-ip-security-windows
3128
content: |
3229
33-
Starting in MongoDB 3.6, :binary:`~bin.mongod.exe` and
30+
:binary:`~bin.mongod.exe` and
3431
:binary:`~bin.mongos.exe` bind to localhost by default. If the members
3532
of your deployment are run on different hosts or if you wish remote
3633
clients to connect to your deployment, you must specify
37-
``--bind_ip`` or :setting:`net.bindIp`. For more information, see
38-
:ref:`3.6-bind_ip-compatibility`. For more information on the
34+
``--bind_ip`` or :setting:`net.bindIp`. For more information on the
3935
configuration file, see :doc:`configuration
4036
options</reference/configuration-options>`.
4137

source/includes/extracts-hybrid-index-fcv.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ content: |
2424
:ref:`index builds <index-operations>` to finish before starting a
2525
rollback.
2626
27-
- For :ref:`feature compatibility version (fcv) <view-fcv>` ``"4.0"``,
28-
MongoDB waits for any in-progress background
29-
:ref:`index builds <index-operations>` to finish before starting a
30-
rollback.
31-
3227
For more information on the index build process, see
3328
:ref:`index-operations`.
3429
---
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
Starting in MongoDB 3.6, arbiters have priority ``0``. When you upgrade
2-
a replica set to MongoDB 3.6, if the existing configuration has an
3-
arbiter with priority ``1``, MongoDB 3.6 reconfigures the arbiter to
4-
have priority ``0``.
1+
Arbiters have priority ``0``.

0 commit comments

Comments
 (0)