Lock acquisition among nodes of divided cluster
Abstract
The acquisition of a lock among nodes of a divided cluster is disclosed. A method is performable by each of at least one node of the cluster. A node waits for a delay corresponding to its identifier. The node asserts intent to acquire the lock by writing its identifier to X and Y variables where another node has failed to acquire the lock. The node waits for another node to acquire the lock where the other node has written to X, and proceeds where Y remains equal to its own identifier. The node waits for another node to acquire the lock where the other node has written to a Z variable, and writes its own identifier to Z and proceeds where the other node has failed. The node writes a value to Y indicating that it is acquiring the lock, and maintains acquisition by periodically writing to Z.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performable by a first node of a plurality of nodes of a divided cluster comprising: initially waiting for a delay corresponding to a node identifier of the first node; asserting an intent to acquire a lock by writing the node identifier of the first node to an X variable and writing the node identifier of the first node to a Y variable where a second node has failed to acquire the lock; after asserting the intent to acquire the lock, waiting for a third node to acquire the lock where the third node has written to the X variable, and proceeding to perform a first group of actions wher
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗