Details
-
Task
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
Description
The use case is for SERVER-33295, which adds a background thread to periodically check for and abort snapshot transactions that have expired. Transactions expire based on an adjustable server parameter, TransactionLifetimeLimit, on which we want to base the period of the background job – if TransactionLifetimeLimit is very high, we don't want to run the thread often, and if it is low, we want to run the thread more frequently. SERVER-33295 will instead set a period of 1 second – the lowest TransactionLifetimeLimit setting – and use a static function variable to track the period on which it actually wants to run, based on checking TransactionLifetimeLimit.