Skip to content

Commit 383e8b0

Browse files
jeff-allen-mongokay-kim
authored andcommitted
(DOCSP-6257): Fixing inaccurate description of delete timing for TTL indexes
1 parent 890a4fe commit 383e8b0

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

source/core/index-ttl.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ output of :method:`db.currentOp()` or in the data collected by the
6666
Timing of the Delete Operation
6767
``````````````````````````````
6868

69-
.. include:: /includes/extracts/4.2-index-ttl.rst
69+
MongoDB begins removing expired documents as soon as the index
70+
finishes building on the :term:`primary`. For more information on the
71+
index build process, see :ref:`index-operations`.
7072

7173
.. include:: /includes/fact-ttl-collection-background-timing.rst
7274

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

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,6 @@ content: |
1515
lock only at the beginning and end of the build process. The rest of
1616
the build process yields to interleaving read and write operations.
1717
MongoDB ignores the ``background`` option if specified.
18-
19-
---
20-
ref: 4.2-index-ttl
21-
content: |
22-
23-
For :ref:`feature compatibility version (fcv) <view-fcv>` ``"4.2"``,
24-
MongoDB begins removing expired documents as soon as the
25-
index finishes building.
26-
27-
For :ref:`feature compatibility version (fcv) <view-fcv>` ``"4.0"``,
28-
the timing of delete operations depends on the index build type:
29-
30-
- With foreground index builds, MongoDB can begin removing
31-
expired documents only *after* the build completes.
32-
33-
- With background index builds, MongoDB can begin removing
34-
expired documents as soon as the they are processed by the build.
35-
36-
For more information on the index build process, see
37-
:ref:`index-operations`.
3818
---
3919
ref: 4.2-rollbacks
4020
content: |
@@ -82,4 +62,4 @@ content: |
8262
- For :ref:`feature compatibility version (fcv) <view-fcv>` ``"4.0"``,
8363
the index build memory limit only applies to foreground
8464
index builds.
85-
...
65+
...

0 commit comments

Comments
 (0)