Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4513

Investigate improvements in session's dhandle cache cleanup

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      A session in WiredTiger maintains a cache of dhandles it recently used. This cache is cleaned up periodically by the session sweep. The sweep gets triggered when the session tries to find a new dhandle that it has not used before. Since in such a scenario the session will alter its session cache, cleanup is piggy-backed on it.

      With some MongoDB workloads it creates issues (dhandles not getting removed from the global list) when these sessions are not used in a while, or when new dhandles are not accessed through these sessions.

      This ticket will look into improvements we can make in session sweep that address the above issue.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: