Deadlock resolution through lock requeing
Abstract
A method and system for using a requeueing procedure to resolve deadlocks in a computing system is disclosed. A request for a resource may be requeued after a designated period of time or wait cycles if it is blocked from being granted. For example, a request for exclusive ownership of a resource could be requeued if it cannot be granted within an appropriate period of time. These types of requests are requeued to allow other requests for the same resource to move ahead in the wait queue. This allows other grantable requests behind the blocked request to be immediately granted. Using this approach, it is possible that allowing the other requests behind the timed-out request to move ahead in the queue will set off a chain reaction of accesses to resources which will clear the deadlock situation that initially causes the requeued request(s) to be blocked.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 29.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for resolving a deadlock in a computing system, the computing system having a multi-node database cluster configuration in which a plurality of instances of a resource and an associated lock request queue are respectively distributed within a plurality of database nodes, the system also having a distributed lock manager comprising a collection of local lock managers, each node having a local lock manager, the method comprising: identifying a first request for an exclusive lock that is associated with the resource, the first request forming part of a deadlock in which the deadlock cann
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗