Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2038

Comment on: "manual/tutorial/expire-data.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 19 weeks, 2 days ago