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
    • Labels:
    • 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.

            sulabh.mahajan@mongodb.com Sulabh Mahajan
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            4 Vote for this issue
            16 Start watching this issue