Hybrid locking using network and on-disk based schemes
Abstract
A method of acquiring a lock by a node, on a shared resource in a system of a plurality of interconnected nodes, is disclosed. Each node that competes for a lock on the shared resource maintains a list of locks currently owned by the node. A lock metadata is maintained on a shared storage that is accessible to all nodes that may compete for locks on shared resources. A heartbeat region is maintained on a shared resource corresponding to each node so nodes can register their liveness. A lock state is maintained in the lock metadata in the shared storage. A lock state may indicate lock held exclusively, lock free or lock in managed mode. If the lock is held in the managed mode, the ownership of the lock can be transferred to another node without a use of a mutual exclusion primitive such as the SCSI reservation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of acquiring a lock by a node, on a shared resource in a system of a plurality of interconnected nodes, the method comprising: (a) probing a local lock metadata of the node to determine if a lock metadata of the lock exists in the local lock metadata, wherein the lock metadata includes an identity of the lock and a lock status; (b) if the lock metadata does not exist in the local lock metadata, performing steps (i) to (iv), (i) reading shared lock metadata of the lock from a shared storage, the reading includes identifying a current owner of the lock and a current status of the lock;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Final Rejection Mailed on Apr. 10, 2013 for U.S. Appl. No. 11/707,724, filed on Feb. 16, 2007.
- Final Rejection Mailed on Aug. 6, 2010 for U.S. Appl. No. 11/676,109, filed Feb. 16, 2007.
- Final Rejection Mailed on Dec. 2, 2009 for U.S. Appl. No. 11/707,724, filed Feb. 16, 2007.
- Final Rejection Mailed on Jan. 29, 2010 for U.S. Appl. No. 10/773,613, filed Feb. 6, 2004.
- Final Rejection Mailed on Jun. 6, 2012 for U.S. Appl. No. 11/707,724, filed Feb. 16, 2007.