Add TTL unit tests that require reproducing timing conditions

XMLWordPrintableJSON

    • Type: Engineering Test
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are some paths in TTL that require specific timing conditions to be tested, we need to examine these and see what's feasible and add tests as appropriate.

      • index not found in getValidTTLIndex called from _deleteExpiredWithIndex
        • index needs to be deleted before we get here,
        • but after doTTLIndexDelete in a non-clustered collection
      • part of replset, not readable
        • beginning of _doTTLSubPass
        • we are during initial sync
        • should skip
      • doTTLIndexDelete
        • collection has already been dropped by the time we get here

              Assignee:
              Unassigned
              Reporter:
              Binh Vo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: