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

Investigate improvements in session's dhandle cache cleanup

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: