Github user WireBaron commented on a diff in the pull request:

    https://github.com/apache/geode/pull/683#discussion_r131287954
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockToken.java
 ---
    @@ -302,14 +302,14 @@ boolean checkForExpiration() {
        * @param remoteThread identity of the leasing thread
        * @return true if lease for this lock token is successfully granted
        */
    -  synchronized boolean grantLock(long newLeaseExpireTime, int newLeaseId, 
int newRecursion,
    +  synchronized void grantLock(long newLeaseExpireTime, int newLeaseId, int 
newRecursion,
           RemoteThread remoteThread) {
     
         Assert.assertTrue(remoteThread != null);
         Assert.assertTrue(newLeaseId > -1, "Invalid attempt to grant lock with 
leaseId " + newLeaseId);
     
         checkDestroyed();
    -    checkForExpiration();
    +    checkForExpiration(); // TODO: this should throw.
    --- End diff --
    
    Any chance this TODO can be implemented now?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to