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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • 2

      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.

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

              Created:
              Updated: