×

Method for managing reuse of hard log space by mapping log data during state changes and discarding the log data

  • US 4,878,167 A
  • Filed: 06/30/1986
  • Issued: 10/31/1989
  • Est. Priority Date: 06/30/1986
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, implemented on a digital computer system, for managing the reuse of space on a hard log stored on memory means in said computer system in support of forward resource recovery (FIG. 4) in a transaction-oriented system in which concurrently executing, failure-independent processes share a common hard log and one or more resources, comprising the steps of:

  • (a) recording log data on said memory means with a log manager in said computer system in a partitioned fashion by a unit of recovery (UR) in a transaction recovery stream (TRS) resident on the hard log, said UR selectively assuming an inflight, ensure commit, or ensure abort state (FIGS. 2, 3,

         6);

    (b) classifying using said log manager to classify the log data into subsets (BEGIN, COMMIT, ABORT, END, REDO, UNDO) according to the function of their role in recovery (FIGS. 6,

         8);

    (c) responsive to UR state changes from either inflight to ensure commit (FIG.

         2) or inflight to ensure abort (FIG.

         3), using said log manager to perform a one-to-n mapping of the log data of one of said subsets (typed REDO or UNDO shown in FIGS. 9, 10, 13-16) from a given UR partition on the TRS into resource recovery streams (RRSs) (FIGS. 5,

         7); and

    (d) at the termination (END) of the UR state changes utilizing the RRSs, using said log manager to discard all log data identified on the hard log as belonging to the given UR partition from the TRS rendering space occupied by said discarded log data on said hard log amenable to reuse (FIGS. 11, 17-24).

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