Skip to content

Commit cc82d42

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-16500-TTL-deletes (#5429) (#5454)
* DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 2ccc945 commit cc82d42

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

source/core/index-ttl.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ When the TTL thread is active, you will see delete operations in the
9191
output of :method:`db.currentOp()` or in the data collected by the
9292
:ref:`database profiler <database-profiler>`.
9393

94+
.. include:: /includes/time-series-ttl-deletes.rst
95+
9496
Timing of the Delete Operation
9597
``````````````````````````````
9698

source/core/timeseries/timeseries-limitations.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ To automatically delete old data, :ref:`set up automatic removal (TTL)
7777
To remove all documents from a collection, use the
7878
:method:`~db.collection.drop()` method to drop the collection.
7979

80+
.. include:: /includes/time-series-ttl-deletes.rst
81+
82+
For details on TTL deletes, see :ref:`ttl-collections`.
83+
8084
.. _timeseries-limitations-secondary-indexes:
8185

8286
Secondary Indexes
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
If a time series collection contains documents with ``timeField``
2+
timestamps before ``1970-01-01T00:00:00.000Z`` or after
3+
``2038-01-19T03:14:07.000Z``, no documents are deleted from the
4+
collection by the :term:`TTL "time to live" <TTL>` feature.

source/tutorial/expire-data.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ collection.
4444
You can modify the ``expireAfterSeconds`` of an existing TTL index
4545
using the :dbcommand:`collMod` command.
4646

47+
.. include:: /includes/time-series-ttl-deletes.rst
48+
4749
.. _expire-data-atlas-ui:
4850

4951
Expire Documents in the {+atlas+} UI

0 commit comments

Comments
 (0)