-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
Repl 2025-03-03, Repl 2025-03-17
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Currently we periodically reap the config.transaction table by deleting the entries whose corresponding sessions are expired.
Here is the code path:
LogicalSessionCacheImpl::_reap ==>_reapSessionsOlderThanFn ==> MongoDSessionCatalog::reapSessionsOlderThan ==>removeExpiredTransactionSessionsFromDisk ==> removeSessionsTransactionRecordsIfExpired ==>
removeSessionsTransactionRecordsFromDisk
The last function deletes the entries form the config.transactions table.
This ticket should keep the current code, but when the feature flag is on (similar to here), additionally delete the entries from the in-memory transaction table.
- depends on
-
SERVER-100343 Periodically persist the in-memory transaction table to oplog
-
- Closed
-