jira-importer commented on issue #573:
URL: https://github.com/apache/curator/issues/573#issuecomment-2604698886

   <i><a 
href="https://issues.apache.org/jira/secure/ViewProfile.jspa?name=barkbay";>barkbay</a>:</i>
   <p>I think there is a problem with the way the callback is called in case of 
connection loss : in that case the background callback is not actually invoked 
"in background" but directly in the same thread.<br/>
   In case of a recursive call in the callback the thread blow up quickly with 
a stack overflow error, here is an example :<br/>
   <a href="https://gist.github.com/barkbay/6607155"; class="external-link" 
target="_blank" rel="nofollow 
noopener">https://gist.github.com/barkbay/6607155</a></p>
   
   <p>btw this is exactly what I want to do in <a 
href="https://issues.apache.org/jira/browse/CURATOR-45"; title="LeaderSelector 
threw exception, but still created ephemeral node, breaking everything" 
class="issue-link" data-issue-key="CURATOR-45"><del>CURATOR-45</del></a></p>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@curator.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to