Patent ID: 8868755
Filing Date: 2014-10-21
Classification: G06F

Abstract:
1. A computer-implemented method for managing locks on shared resources in a distributed computer system comprising: receiving at a first primary computer node a first local lock state from a first secondary computer node of a plurality of secondary computer nodes, wherein the first local lock state provides an amalgamated representation of lock states of one or more tasks on the first secondary computer node and comprises a lock request for access to a shared resource by one or more tasks on the first secondary computer node, a requested lock mode for the lock request, and merged state information of tasks on the first secondary computer node waiting for or holding locks on shared resources, and wherein the merged state information indicates a group lock mode generated by comparing lock modes of the tasks on the first secondary computer node waiting for or holding locks on the shared resources and identifying a lock mode compatible with each of the lock modes of the tasks as the group lock mode based on the comparing; at a global deadlock detector, receiving and storing lock conflict information from two or more of the plurality of secondary computer nodes, wherein for each of the two or more secondary computer nodes the lock conflict information comprises local lock waits and lock interests for one or more tasks on that secondary computer node;