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

Implement session keepalive logic

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Platforms 2017-05-08, Platforms 2017-05-29

      Create a job that does the following:

      • walk through the active OperationContext objects and assemble a list of in-use sessions
      • go through the in-mem session cache and remove records that have expired (unless they are currently in-use)
      • assemble a list of remaining cached records to be refreshed
      • issue a bulk write to the sessions collection to update lastUse times for all relevant sessions
      • remove any session records from the cache if the authoritative record has been removed

      This should be run in a background job on all servers.

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: