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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.11, 4.0.6, 4.1.7
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Storage Engines 2018-12-31, Storage Engines 2019-01-14, Storage Engines 2019-01-28
    • Case:
    • Story Points:
      8

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: