File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
The TTL index does not guarantee that expired data will be deleted
2
- immediately upon expiration. There may be a delay between the time a
2
+ immediately upon expiration. There may be a delay between the time that a
3
3
document expires and the time that MongoDB removes the document from
4
4
the database.
5
5
6
6
The background task that removes expired documents runs *every 60
7
7
seconds *. As a result, documents may remain in a collection during the
8
8
period between the expiration of the document and the running of the
9
- background task.
9
+ background task. MongoDB starts deleting documents 0 to 60 seconds after
10
+ the index completes.
10
11
11
12
Because the duration of the removal operation depends on the workload
12
13
of your :binary: `~bin.mongod ` instance, expired data may exist for some
You can’t perform that action at this time.
0 commit comments