Patent ID: 8140483

Claim:
A method for managing a log-full condition of a transaction log in a transaction processing system, the transaction log comprising a plurality of log records each associated with a particular transaction, the method comprising: responsive to detecting the log-full condition, performing: identifying an active transaction having an oldest log record of all active transactions having records in the log; temporarily suspending logging for all transactions except for the identified transaction; initiating a dynamic transaction backout of the identified transaction; delaying writing of a backout record for the identified transaction to the log; and sending a notification identifying the transaction for which the writing of the backout record to the log is being delayed; responsive to receiving confirmation that the backout has completed, performing: trimming the log; writing the backout record for the identified transaction to the log; and resuming normal logging; and responsive to discovery of an incomplete set of log records for a selected transaction, comparing: comparing whether the selected transaction is the identified transaction for which writing of the backout record was delayed; and when the comparing determines that the selected transaction is the identified transaction, ignoring the discovery of the incomplete set of log records for the selected transaction.