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

TTL index doesn't work on MongoDB for Windows

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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 });

      TTL index doesn't work.

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

              Created:
              Updated:
              Resolved: