TTL index doesn't work on MongoDB for Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.0
    • Component/s: TTL
    • None
    • Environment:
      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 });
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      TTL index doesn't work.

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

                Created:
                Updated:
                Resolved: