[DOCS-2038] Comment on: "manual/tutorial/expire-data.txt" Created: 05/Oct/13  Updated: 03/Nov/17  Resolved: 07/Oct/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: auto Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/tutorial/expire-data/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
Referrer: http://docs.mongodb.org/manual/core/capped-collections/
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial/expire-data


Participants:
Days since reply: 10 years, 19 weeks, 2 days ago

 Description   

db.log.events.ensureIndex(

{ "status": 1 }

,

{ expireAfterSeconds: 3600 }

)

Should warn users that this does not update an existing expiration index.
ie. Even if the 3600 is changed to 7200 for example, the index will still stay at the original 3600 unless the index is first removed.



 Comments   
Comment by auto [ 07/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2038: adding additional links
Branch: master
https://github.com/mongodb/docs/commit/773e3e5d3139eb70cd334667c0910c815a1a29b1

Comment by auto [ 07/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2038: linking expire data tutorial to collMod index flag
Branch: master
https://github.com/mongodb/docs/commit/91c0ad2d75f05c6b54dc0ebcc9750c1370bc10fe

Generated at Thu Feb 08 07:42:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.