Skip to content

Commit 3125396

Browse files
committed
DOCS-11801: repl rollback timelimit = 1 day
1 parent 62771f1 commit 3125396

File tree

4 files changed

+24
-17
lines changed

4 files changed

+24
-17
lines changed

source/core/replica-set-rollbacks.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,17 @@ In previous versions, a :binary:`~bin.mongod` instance will not
117117
roll back more than 300 megabytes of data and requires manual
118118
intervention if more than 300 megabytes of data need to be rolled back.
119119

120-
121120
Time Elapsed Limitations
122121
~~~~~~~~~~~~~~~~~~~~~~~~
123122

124123
.. versionchanged:: 4.0
125124

126-
Starting in version 4.0, the server parameter
127-
:parameter:`rollbackTimeLimitSecs` allows the setting of the maximum
128-
time allowed from the common point to the last point in the oplog of the
129-
replica set member that is indicated for rollback.
125+
Starting in version 4.0, the rollback time limit defaults to 24 hours
126+
and is configurable using the parameter
127+
:parameter:`rollbackTimeLimitSecs`. :parameter:`rollbackTimeLimitSecs`
128+
allows the setting of the maximum time allowed from the common point to
129+
the last point in the oplog of the replica set member that is indicated
130+
for rollback.
130131

131132
In previous versions, the rollback time limit is not configurable and is
132133
set to 30 minutes.

source/reference/parameters.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ Replication Parameters
13081308

13091309
*Type*: 64-bit integer
13101310

1311-
*Default*: 1800
1311+
*Default*: 86400 (1 day)
13121312

13131313
Maximum age of data that will be rolled back in the event of a
13141314
replication operations failure. If the time between the end of the

source/release-notes/4.0-compatibility.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ a :binary:`~bin.mongod` instance will not roll back more than 300
121121
megabytes of data and requires manual intervention if more than 300
122122
megabytes of data need to be rolled back.
123123

124+
Starting in MongoDB 4.0, the rollback time limit defaults to 1 day and
125+
is configurable using the new parameter
126+
:parameter:`rollbackTimeLimitSecs`. In earlier versions, the rollback
127+
time limit is not configurable and is set to 30 minutes.
128+
124129
Sharded Clusters
125130
----------------
126131

source/release-notes/4.0.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,10 @@ Journaling and Replica Sets
513513
``rollbackTimeLimitSecs`` Parameter Available
514514
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
515515

516-
In MongoDB 4.0, a new :parameter:`rollbackTimeLimitSecs` parameter allows
517-
for the setting of the time limit in seconds between the common point
518-
and the last oplog write entry in a stepped-down primary.
516+
Starting in MongoDB 4.0, a new :parameter:`rollbackTimeLimitSecs`
517+
parameter allows for the setting of the time limit in seconds between
518+
the common point and the last oplog write entry for the member
519+
indicated for rollback. The default rollback time limit is 1 day.
519520

520521
Wait for Background Index Builds
521522
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -634,7 +635,7 @@ Resume Token Data Type Change
634635
For the corresponding MongoDB driver method, refer to your
635636
driver documentation.
636637

637-
.. versionadded:: 4.0
638+
.. versionadded:: 4.0
638639

639640
.. _4.0-free-monitoring:
640641

@@ -720,20 +721,20 @@ Platform Support
720721
- MongoDB 4.0 (Community & Enterprise) adds support for:
721722

722723
- :doc:`Amazon Linux 2 </tutorial/install-mongodb-on-amazon>`
723-
724+
724725
- :doc:`Debian 9 "Stretch" </tutorial/install-mongodb-on-debian>`
725726

726727
- MongoDB 4.0 (Community) adds support for:
727728

728729
- s390x RHEL 6.x
729730

730731
- MongoDB 4.0 does not support SLES 11.
731-
732+
732733
- Support for SLES 11 has also been removed in MongoDB 3.2.20+,
733734
3.4.15+, and 3.6.4+.
734735

735736
- MongoDB 4.0 does not support Ubuntu 12.04.
736-
737+
737738
- Support for Ubuntu 12.04 has also been removed in MongoDB 3.2.20+,
738739
3.4.15+, and 3.6.4+.
739740

@@ -763,14 +764,14 @@ Commands
763764
- The command :dbcommand:`listCollections` takes Intent Shared lock on
764765
the database. In previous versions, the command takes Shared lock on
765766
the database.
766-
767+
767768
- The command :dbcommand:`listCollections` and its :binary:`~bin.mongo`
768769
shell helper :method:`db.getCollectionInfos()` accepts the following
769770
option:
770771

771772
- ``nameOnly`` to return only the collection names and types (which
772773
does not require collection locks).
773-
774+
774775
- ``authorizedCollections`` to allow users without the required
775776
privilege to run :dbcommand:`listCollections` can run the command,
776777
with ``nameOnly: true, authorizedCollections: true``, to return the
@@ -797,9 +798,9 @@ Commands
797798

798799
- ``uuids`` field that contains the collections and their
799800
corresponding UUIDs.
800-
801+
801802
- The command :dbcommand:`killOp` now supports termination of queries that are
802-
running on a :binary:`~bin.mongos`. When run on the ``mongos``, :dbcommand:`killOp`
803+
running on a :binary:`~bin.mongos`. When run on the ``mongos``, :dbcommand:`killOp`
803804
can kill queries that are running in more than one shard.
804805

805806
Geospatial Query Improvements

0 commit comments

Comments
 (0)