SERVER-92607ClosedFixed

Eager reaping should not reap a session with a yielded TransactionRouter

Eager reaping is a mechanism to reap internal transactions spawned for retryable writes (ie session ids with txnNumbers in them) before their parent session expires to avoid unbounded memory growth. This works by [triggering a callback when a new "client" transaction number is seen|https://github.com/10gen/mongo/blob/0ed820f428e08a19a4f01b34833395f772ea274f/src/mongo/db/session/session_catalog.cpp#L372-L386], ie the top level txnNumber in a retryable write or client started transaction, and will

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
8.1.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.