Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/tutorial/expire-data/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
*Screen Resolution*: 2560 x 1440
*repo*: docs
*source*: tutorial/expire-data
Description
I think this line is wrong:
Collections expire by way of a special index that keeps track of insertion time in conjunction with a background thread in mongod that regularly removes expired documents from the collection.
The index is on the field you specify, I don't think there's any tracking of insertion time unless it's changed since the last time I looked at the code (circa March'13).