keith-turner commented on issue #1004: FLUO-1000 OracleServer race conditions
URL: https://github.com/apache/fluo/pull/1004#issuecomment-359852270
 
 
   Maybe we don't need to verify that the illegal state came from curator.  We 
could make the check stronger, something like the following.
   
   ```java
    } catch (IllegalStateException e) {
         if(curatorFramework.getState() == STOPPED && !started) {
           // the oracle server had been stopped, do not care much about 
errors... lets suppress the exception
           log.debug(...);  //log a debug message that this happened
         } else {
           throw e;
         }
       }
   ```

----------------------------------------------------------------
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