SERVER-125747ClosedFixed

Improve SessionCatalog interface

Currently the SessionCatalog interface, specifically scanSessions is overly broad on what it allows callers to do in terms of state mutation. This function can be spit out into the following: killSessions: which kills sessions with a given predicate findExpiredParentSessions: Returns the set of parent session IDs whose last checkout time is earlier than some value scanSessionsReadOnly: scans a read only list of sessions and provides the caller a const view of an ObservableSession.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.0.0-rc08.3.138.0.37
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp