You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2018/03/23 23:24:36 UTC

[geode] branch feature/GEODE-4928 updated: GEODE-4928

This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-4928
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-4928 by this push:
     new d8e30a0  GEODE-4928
d8e30a0 is described below

commit d8e30a0de6c8742dde53d9203cd122e9bc710849
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Fri Mar 23 16:23:55 2018 -0700

    GEODE-4928
    
    addressing review comment
---
 .../apache/geode/internal/cache/locks/TXLessorDepartureHandler.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLessorDepartureHandler.java b/geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLessorDepartureHandler.java
index ecbf74d..53f998e 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLessorDepartureHandler.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLessorDepartureHandler.java
@@ -42,10 +42,9 @@ public class TXLessorDepartureHandler implements DLockLessorDepartureHandler {
   @Override
   public void waitForInProcessDepartures() throws InterruptedException {
     synchronized (stateLock) {
-      if (!processingDepartures) {
-        return;
+      while (processingDepartures) {
+        stateLock.wait();
       }
-      stateLock.wait();
     }
   }
 

-- 
To stop receiving notification emails like this one, please contact
bschuchardt@apache.org.