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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: