×

Lingering locks for replicated data objects

  • US 5,913,213 A
  • Filed: 06/16/1997
  • Issued: 06/15/1999
  • Est. Priority Date: 06/16/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A node of a computer network, the node comprising:

  • a memory in which a data object is stored, the data object being replicated at another node of the network whereby the data object is maintained at plural nodes and updated at each of the plural nodes when the data object is changed by any one of the plural nodes;

    a lock table which indicates whether (1) the data object is already locked at the node;

    (2) the data object is locked at the another node, the lock table further specifying an identification of the another node;

    (3) the data object is unlocked; and

    a processor having a lock manager which, when a process native to the node desires access to the data object, checks the lock table and,if the data object is already locked at the node, posts the lock-requesting process in a lock scheduler queue for the data object;

    if the data object is locked at the another node, on behalf of the lock-requesting process sends to the another node a request for a lock on the data object;

    if the data object is unlocked, (a) sets a lingering lock flag in the lock table for the data object to indicate that the data object can only be accessed at the node to the exclusion of processes of other nodes, (b) grants the process access to the data object as stored in the memory of the node, (c) sends a signal to the another node notifying the another node that the data object is locked at the node, the lingering lock flag remaining set after the process native to the node terminates access to the data object, thereby enabling a successive access to the data object by the process native to the node or another process native to the node without further notifying the another node of the network.

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