System and method for efficient lock recovery
First Claim
Patent Images
1. A method for recovering locks comprising:
- determining a lock recovery should be performed;
recovering a first lock;
recovering a second lock;
wherein recovering the first lock occurs approximately in parallel to the recovering of the second lock.
7 Assignments
0 Petitions
Accused Products
Abstract
A system and method are disclosed for providing a system and method for an efficient lock recovery. In one embodiment of the present invention, a multiple node networked system shares a resource such a shared storage. Among various other aspects of the present invention, when there is a change, such as a server failure, that prompts a recovery, the recovery can be performed in parallel among the nodes. A further aspect of an embodiment of the present invention includes recovering a lock with a higher level of exclusion prior to another lock with a lower level of exclusion.
66 Citations
25 Claims
-
1. A method for recovering locks comprising:
-
determining a lock recovery should be performed;
recovering a first lock;
recovering a second lock;
wherein recovering the first lock occurs approximately in parallel to the recovering of the second lock. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
2. The method of claim 1, further comprising providing a first lock manager and a second lock manager.
- 3. The method of claim 1, wherein the first lock is recovered in a first node and the second lock is recovered in a second node.
-
4. The method of claim 3, wherein the first node is a server.
-
16. A method for recovering a lock in a node comprising:
-
determining a lock recovery should be performed;
recovering a first lock;
recovering a second lock after recovering the first lock;
wherein the first lock is of a higher level of exclusion than the second lock. - View Dependent Claims (17, 18, 19, 20, 21)
-
-
22. The method of claim 16, wherein the second lock is a read lock.
-
22-1. A system for recovering locks comprising:
-
a first node configured to recover a first lock;
a second node configured to recover a second lock;
a resource shared by the first and second nodes;
wherein recovering the first lock occurs approximately in parallel to the recovering of the second lock.
-
-
23. The method of claim 16, wherein the first lock is recovered from a first lock space to a second lock space.
-
23-2. A method for recovering locks comprising:
-
providing a lock manager in a first node;
providing a lock manager in a second node;
recognizing a change in a domain lock membership;
recovering a first lock in the first node;
recovering a second lock in the first node;
wherein the first lock is of a higher level of exclusion than the second lock.
-
-
24. The method of claim 16, wherein the determining the lock recovery should be performed includes recognizing a change in a lock domain membership.
-
24-3. A method for recovering locks comprising:
-
recognizing a change in membership;
providing a first lock space;
providing a second lock space;
recovering a lock;
recovering a second lock;
wherein recovering the first lock occurs approximately in parallel to the recovering of the second lock.
-
-
25. A system for recovering a lock comprising:
-
a processor configured to determine whether a lock recovery should be performed;
recovering a first lock;
recovering a second lock after recovering the first lock;
wherein the first lock is of a higher level of exclusion than the second lock; and
a memory coupled to the processor, wherein the memory is configured to provide instructions to the processor.
-
-
25-4. A computer program product for recovering locks, the computer program product being embodied in a computer readable medium and comprising computer instructions for:
-
determining a lock recovery should be performed;
recovering a first lock;
recovering a second lock after recovering the first lock;
wherein the first lock is of a higher level of exclusion than the second lock.
-
Specification