Reap the in-memory transaction table

XMLWordPrintableJSON

    • 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
    • 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.

            Assignee:
            Joseph Obaraye
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: