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

Make the LogicalSessionCache reaper only scan parent sessions when searching for expired logical sessions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc9, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • Sharding NYC 2022-06-13

      The sessionSessions() calls in MongoDSessionCatalog::reapSessionsOlderThan() and RouterSessionCatalog::reapSessionsOlderThan() should be replaced with scanParentSessions() calls since there is no need to also scan child sessions given they are tracked by the same SessionRuntimeInfo which is the class that tracks lastCheckout time.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: