×

System and method for determining staleness of data received from a distributed lock manager

  • US 8,719,432 B1
  • Filed: 04/30/2010
  • Issued: 05/06/2014
  • Est. Priority Date: 04/30/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, comprising:

  • one or more computer systems implementing a client of a distributed lock manager, the distributed lock manager comprising a plurality of nodes maintaining a shared state;

    the client sending a request to the distributed lock manager, the request including a local time of the client;

    the client receiving a response to the request from a node of the plurality of nodes, the response indicating that a lock corresponding to a given resource has been granted to the client, wherein the response also includes an echo of the local time that was included in the request;

    the client utilizing the resource subsequent to receiving the response;

    the client determining that a safe period of time has elapsed, said determining being dependent at least on a client staleness, the client staleness corresponding to a difference between the echoed local time and a current local time;

    in response to determining that the safe period of time has elapsed, the client ceasing to utilize the resource, said ceasing being irrespective of whether the lock has been revoked from the client by the distributed lock manager.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×