fluo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] kpm1985 commented on a change in pull request #1004: FLUO-1000 OracleServer race conditions
Date Thu, 01 Jan 1970 00:00:00 GMT
kpm1985 commented on a change in pull request #1004: FLUO-1000 OracleServer race conditions
URL: https://github.com/apache/fluo/pull/1004#discussion_r162751133
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/fluo/core/oracle/OracleServer.java
 ##########
 @@ -410,15 +417,18 @@ public void takeLeadership(CuratorFramework curatorFramework) throws
Exception {
       }
 
       synchronized (this) {
+        // FLUO-1000
+        isLeader = true;
+        while (!curatorFramework.getState().equals(CuratorFrameworkState.STARTED)) {
 
 Review comment:
   Could take another look at that, and try it again though because I did it that way because
likewise that makes the best sense.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message