[SERVER-28341] Implement session keepalive logic Created: 16/Mar/17  Updated: 29/Jan/18  Resolved: 15/May/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-28300 Implement an in-mem cache for sessions Closed
has to be done after SERVER-28344 Implement the admin.system.sessions c... Closed
Related
is related to SERVER-29198 Implement the ServiceLiason for mongod Closed
is related to SERVER-29199 Implement the ServiceLiason for mongos Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-05-08, Platforms 2017-05-29
Participants:

 Description   

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.



 Comments   
Comment by Samantha Ritter (Inactive) [ 15/May/17 ]

The work described in this ticket will be implemented in parts in SERVER-28300, SERVER-29198, and SERVER-29199 instead.

Generated at Thu Feb 08 04:17:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.