CPC G06F 9/5038 (2013.01) [G06F 9/5033 (2013.01); G06F 11/0772 (2013.01); G06F 11/3006 (2013.01)] | 25 Claims |
1. One or more non-transitory computer readable media encoded with instructions that, when executed by one or more processors of a distributed computing system, cause the distributed computing system to perform operations comprising:
granting a request for a lock of a shared resource of the distributed computing system, the request including a scope of the lock and a target having the scope, the target defining entities able to access the shared resource when locked, the scope of the lock comprising an application-level scope, a service-level scope, a node-level scope, or combinations thereof;
storing the scope of the lock and the target at a lock database including scopes and targets associated with additional locks of the shared resource or additional shared resources of the distributed computing system;
queuing a second request for a second lock of the shared resource when a target of the second lock encompasses entities outside of the target of the lock;
determining that a computing node of the distributed computing system has failed; and
removing the lock from the lock database responsive to a determination that the target of the lock is hosted by the computing node.
|