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

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

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

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: