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

Create new policy around interaction between WiredTigerSessionCache and shutting down

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2024-11-25

      We should look into creating a policy where a session can only be checked out from the WiredTigerSessionCache while we are not shutting down, and where we can only shut down when there are no outstanding sessions that have not been checked back into the session cache. This should simplify a lot of our behavior around shutdown, and prevent bugs caused by attempting to access the storage engine after it has been shut down (for example, if a recovery unit destructor tries to release its session back into the cache after the storage engine has been shut down).

            Assignee:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: