CPC G06F 9/52 (2013.01) [G06F 7/582 (2013.01); G06F 9/4881 (2013.01); G06F 9/5083 (2013.01); H04L 67/10 (2013.01); G06F 11/008 (2013.01); H04L 12/2896 (2013.01)] | 18 Claims |
8. A method of multi-phase distributed task coordination, the method comprising:
receiving a request for a first lease from a requesting node;
determining whether the first lease is available for grant;
upon determining the first lease is available for grant, granting the first lease to the requesting node, wherein the first lease is granted for a lease timeout period;
upon granting the first least, decrementing a number of available leases;
monitoring for a lease release message associated with the first lease;
responsive to the lease timeout period ending or receiving the lease release message, revoking the first lease;
receiving a request for a second lease from the requesting node;
determining whether the second lease is available for grant; and
upon determining the second lease is not available, returning a denial, wherein the denial comprises an indication of a current lease holder.
|