Investigate adding more structured way of testing ttl behavior in jstests/core

XMLWordPrintableJSON

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

      SERVER-81927 involves moving tests that do not depend on bucketing behavior from jstests/noPassthrough/timeseries into jstests/core/timeseries. However, it looks like a good number of these candidates (for example, jstests/noPassthrough/timeseries/timeseries_expire.js ) rely on setting the parameter for `ttlMonitorSleepSecs` to a lower value to test TTL behavior. Setting this parameter on the DB in sharded passthroughs will involve setting this parameter on a mongos, which will fail. 

      It doesn't look like there is much TTL testing behavior in core - this ticket would involve creating a more structured way to set TTL behavior in core tests, which would make moving a number of timeseries tests into core easier and presumably increase coverage for TLL behavior.

              Assignee:
              Unassigned
              Reporter:
              Damian Wasilewicz
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: