Efficient lock state transitions in a distributed system
AssigneeOracle Corporation
InventorsCharles Simmons, Madhusudan Krishnapuram, Hans Karten
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle Corporation
InventorsCharles Simmons, Madhusudan Krishnapuram, Hans Karten
Estimating the term…
A system for managing locks that give permission to access resources in a computer system are disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. A shadow resource object may retain a lock on a resource even when no process on the same node requires the shadow resource to retain the lock. Whether a shadow resource retains a lock under these circumstances depends on conditions in the system, including whether most processes accessing the resource reside on the same node as the shadow resource.
A method for allocating a resource in a system that includes a plurality of first processes executing on a plurality of nodes, the method comprising the steps of:
A computer-readable medium carrying one or more sequences of instructions for allocating a resource in a system that includes a plurality of first processes executing on a plurality of nodes, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
A method for allocating a resource in a system that includes a plurality of first processes executing on a plurality of nodes, the method comprising the steps of:
A computer-readable medium carrying one or more sequences of instructions for allocating a resource in a system that includes a plurality of first processes executing on a plurality of nodes, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
Dependencies are inferred from the claim text.