Investigate improvements in session's dhandle cache cleanup

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Sulabh Mahajan
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: