You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Ivan Kelly (JIRA)" <ji...@apache.org> on 2012/12/03 11:11:58 UTC
[jira] [Commented] (BOOKKEEPER-470) Possible infinite loop in
simple.SubscribeReconnectCallback
[ https://issues.apache.org/jira/browse/BOOKKEEPER-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508622#comment-13508622 ]
Ivan Kelly commented on BOOKKEEPER-470:
---------------------------------------
Resubscribe until success isn't a problem. The problem here is that there's a tight loop, so this will overflow the stack.
> Possible infinite loop in simple.SubscribeReconnectCallback
> -----------------------------------------------------------
>
> Key: BOOKKEEPER-470
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-470
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.2.0
>
> Attachments: 0005-Remove-infinite-loop-from-SubscribeReconnectCallback.patch
>
>
> SubscribeReconnectCallback#operationFailed calls
> SubscribeReconnectCallback#retrySubscribeRequest calls
> channelManager#submitOpAfterDelay calls
> SubscribeReconnectCallback#operationFailed (if closed is true).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira