Build a mechanism to periodically cleanup old WT sessions from session cache

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.11, 4.0.6, 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • v4.0, v3.6
    • Storage Engines 2018-12-31, Storage Engines 2019-01-14, Storage Engines 2019-01-28
    • 8
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The way session cache is maintained, idle sessions keep accumulating in the session cache. If the workload doesn't use all the idle sessions, the oldest sessions stay open forever. In some cases these sessions might hold some resources inside WiredTiger, which can cause problems. eg: dhandles that never close in WiredTiger.

      This ticket is to build a mechanism around the session cache, to cleanup old sessions that have been idle for too long.

      More details in the linked tickets.

            Assignee:
            Sulabh Mahajan
            Reporter:
            Sulabh Mahajan
            Votes:
            4 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: