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

return information on time-series collections with TTL feature disabled

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

      Time series collections may be configured to automatically remove expired documents based on the expireAfterSeconds collection option (TTL).

      In certain scenarios, this TTL feature may be disabled due to the limitations on time series collections. It would be helpful for the end user to be able to tell when the TTL feature is disabled on a time-series collection without having to adjust server log verbosity levels and inspect server logs for TTL activity (or lack of).

      We might expose this information (which is transient in this case because it is completely dependent on the time-series collection content) in a few places, including

      • listIndexes
        • Generally, listIndexes shows information that is persisted durably in the catalog.
      • collStats
        • collStats might be a better place but there are a lot of stats currently being exported.
      • indexStats
        • There is also a lot of detail in the indexStats output so this information might get lost.

            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            benety.goh@mongodb.com Benety Goh
            0 Vote for this issue
            3 Start watching this issue