keith-turner commented on a change in pull request #1004: FLUO-1000 
OracleServer race conditions
URL: https://github.com/apache/fluo/pull/1004#discussion_r193213416
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/fluo/core/oracle/OracleServer.java
 ##########
 @@ -195,11 +195,16 @@ public OracleServer(Environment env) throws Exception {
 
   private void allocateTimestamp() throws Exception {
     Stat stat = new Stat();
+    // FLUO-1000
+    while (!curatorFramework.getState().equals(CuratorFrameworkState.STARTED)) 
{
 
 Review comment:
   In 9b5277c9c79bb3a52bb879af591d1c51ae9476cc I changed the order in which 
things started.  I started curator before starting the thrift server.  Given 
those changes, this is probably no longer needed.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to