Skip to content

Commit 173fb19

Browse files
Revert "(DOCS-15338): oplogBatchDelayMillis server parameter (#1252)" (#1281)
This reverts commit bbe7ae6.
1 parent bbe7ae6 commit 173fb19

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed

source/reference/parameters.txt

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,37 +2277,6 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at runtime,
22772277

22782278
mongod --setParameter maxSessions=1000
22792279

2280-
.. parameter:: oplogBatchDelayMillis
2281-
2282-
|both|
2283-
2284-
*Type*: integer
2285-
2286-
*Default*: 0
2287-
2288-
The number of milliseconds to delay applying batches of oplog
2289-
operations on secondary nodes. By default, ``oplogBatchDelayMillis``
2290-
is ``0``, meaning oplog batches are applied with no delay. When there
2291-
is no delay, MongoDB may apply frequent, small oplog batches to
2292-
secondaries.
2293-
2294-
Increasing ``oplogBatchDelayMillis`` causes MongoDB to apply oplog
2295-
batches less frequently on secondaries, with each batch containing
2296-
larger amounts of data. This reduces :abbr:`IOPS (Input/Output
2297-
Operations Per Second)` on secondaries, but adds latency for writes
2298-
with write concern :writeconcern:`"majority"`.
2299-
2300-
You can only set ``oplogBatchDelayMillis`` at startup. You cannot set
2301-
``oplogBatchDelayMillis`` during runtime.
2302-
2303-
For example, run the following command to set the
2304-
``oplogBatchDelayMillis`` for a :binary:`~bin.mongod` instance to 20
2305-
milliseconds:
2306-
2307-
.. code-block:: bash
2308-
2309-
mongod --setParameter oplogBatchDelayMillis=20
2310-
23112280
.. parameter:: storeFindAndModifyImagesInSideCollection
23122281

23132282
.. versionadded:: 5.1
@@ -3142,7 +3111,7 @@ Sharding Parameters
31423111
and :method:`delete <db.collection.deleteOne>` operations.
31433112

31443113
For example, to set the maximum percentage to 20, you can issue the
3145-
following during startup:
3114+
followingduring startup:
31463115

31473116
.. code-block:: bash
31483117

source/release-notes/6.1.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@ Release Notes for MongoDB 6.1 (Release Candidate)
1414

1515
.. include:: /includes/in-dev.rst
1616

17-
Replication
18-
-----------
19-
20-
Specify Secondary Oplog Batch Delay
21-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22-
23-
Starting in MongoDB 6.1, you can use the
24-
:parameter:`oplogBatchDelayMillis` server parameter to specify a delay
25-
for writes of oplog batches on secondaries. Adding a short oplog batch
26-
delay can reduce :abbr:`IOPS (Input/Output Operations Per Second)` on
27-
secondaries, but adds latency for writes with write concern
28-
:writeconcern:`"majority"`.
29-
30-
For more information, see :parameter:`oplogBatchDelayMillis`.
31-
3217
Report an Issue
3318
---------------
3419

0 commit comments

Comments
 (0)