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

TTL indexes should imply usePowersOf2sizes

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.5, 2.5.3
    • None

      Analogous to SERVER-8418 (which was implemented later than TTL feature existed) expireAfterSeconds index creation should trigger setting powers of 2 sizes flag on collection.

      This would eliminate the SERVER-8418 solution which causes TTL to run every minute and query every database in case the flag needs to be set (on secondaries as well as primaries).

      With systems that have large number of databases this is very painful performance-wise.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: