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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            4 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: