Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27220

TTL index doesn't work on MongoDB for Windows

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.0
    • TTL
    • None
    • Windows 10, MongoDB 3.4.0 2008plus-ssl, storage: mmapv1, journal enabled
    • ALL
    • Hide

      db.logTest.insertOne({_id:new ObjectId(), Created: new Date()});
      db.logTest.createIndex( { "Created": 1 }, { expireAfterSeconds: 60 });
      

      Show
      db.logTest.insertOne({_id:new ObjectId(), Created: new Date()}); db.logTest.createIndex( { "Created": 1 }, { expireAfterSeconds: 60 });

    Description

      TTL index doesn't work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kreig Vyacheslav Stroy
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: