×

System and method for logging transaction records in a computer system

  • US 6,446,086 B1
  • Filed: 06/30/1999
  • Issued: 09/03/2002
  • Est. Priority Date: 06/30/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method comprising:

  • providing a transaction time limit for transactions, wherein the transaction time limit indicates a time by which a transaction must complete to be valid;

    providing a current time;

    writing a first transaction to a log file;

    completing the first transaction;

    writing a completion record for the first transaction to the log file, wherein the completion record indicates that the first transaction has completed;

    writing the completed first transaction to a completed transaction file;

    writing a second transaction to the log file;

    reading the second transaction from the log;

    writing the second transaction to an uncompleted transaction file;

    completing the second transaction;

    writing a completion record for the second transaction to the log file, wherein the completion record indicates that the second transaction has completed;

    reading the contents of the log file and contents of the uncompleted transaction file, wherein the contents of the log file include the completion record for the second transaction and wherein the contents of the uncompleted transaction file include the second transaction;

    determining that the second transaction from the uncompleted transaction file corresponds to the completion record for the second transaction from the log file and writing the completed second transaction to the completed transaction file in response to determining that the second transaction from the uncompleted transaction file corresponds to the completion record for the second transaction from the log file;

    reading the contents of the log file and contents of the uncompleted transaction file;

    writing a third transition to a log file, wherein the third transaction includes a transition start time, wherein the transaction start time indicates a time at which the third transaction began; and

    writing the third transaction to an aborted transaction file when the transaction elapsed time of the third transaction has exceeded the transaction time limit.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×