Add unit test coverage for TTL

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-09-16, Execution Team 2024-10-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The code around ttl indexes is lacking good coverage.. This ticket will look into adding more unit coverage where possible/appropriate. More information on the existing coverage files can be found by following this guide. File of interest:

      mongo/db/ttl.cpp

      Failpoints to also look at:

      • hangTTLMonitorWithLock
      • hangTTLMonitorBetweenPasses
      • skipTTLIndexValidationOnCreateIndex

              Assignee:
              Binh Vo
              Reporter:
              Damian Wasilewicz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: