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

`reapSessionOlderThan` should be part of the ServiceLiaison, not SessionCatalog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • 2

    Description

      ReapSessionOlderThan is a function that locates session entries from the in-memory catalog which have not been referenced before 'possiblyExpired' and deletes them. This is a static function with two implementations, the shard one - owned by the MongoDSessionCatalog, and the router one - owned by the RouterSessionCatalog, and it is needed and only used for the LogicalSessionCache.

      The goal of this ticket is to make the function `reapSessionOlderThan` and its implementations be part of the ServiceLiaison (shard and role) and remove it from the SessionCatalog.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: