×

Hybrid locking using network and on-disk based schemes

  • US 9,130,821 B2
  • Filed: 09/23/2013
  • Issued: 09/08/2015
  • Est. Priority Date: 02/06/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method of breaking and acquiring a lock on a shared resource on a network, wherein the lock is held by a node, the method comprising:

  • reading lock metadata for the lock;

    based on the lock metadata, determining the lock is in a managed mode and is held by the node and is not being used by the node;

    sending a request to the node to release the lock;

    determining that the node has not renewed a lock lease time and that the lock lease time has expired; and

    breaking and acquiring the lock by performing an operation on the shared resource using a mutual exclusion primitive, updating a local lock metadata to include information that a new lock owner node owns the lock, and updating the lock metadata in a shared storage to add a pointer to point to a heartbeat region for the new lock owner node.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×