[SERVER-85282] `reapSessionOlderThan` should be part of the ServiceLiaison, not SessionCatalog Created: 17/Jan/24 Updated: 25/Jan/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Pol Pinol | Assignee: | Backlog - Catalog and Routing |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Catalog and Routing
|
| Participants: | |
| Story Points: | 2 |
| Description |
|
ReapSessionOlderThan is a function that locates session entries from the in-memory catalog which have not been referenced before 'possiblyExpired' and deletes them. This is a static function with two implementations, the shard one - owned by the MongoDSessionCatalog, and the router one - owned by the RouterSessionCatalog, and it is needed and only used for the LogicalSessionCache. The goal of this ticket is to make the function `reapSessionOlderThan` and its implementations be part of the ServiceLiaison (shard and role) and remove it from the SessionCatalog. |