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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc9, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • v6.0
    • Sharding NYC 2022-06-13

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: