[
https://issues.apache.org/jira/browse/BOOKKEEPER-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo updated BOOKKEEPER-133:
---------------------------------
Attachment: bookeeper-133.patch
Attach a new patch.
In the new patch, I just remove code sending consume request when closing
subscription. since close subscription will be called when a channel is
disconnected. so client can't send a consume request thru a unconnected
channel. It would be better to let application handle how to consume.
> Hub server should update subscription state to zookeeper when losing topic or
> shutting down
> -------------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-133
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-133
> Project: Bookkeeper
> Issue Type: Bug
> Components: hedwig-server
> Affects Versions: 4.0.0
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.1.0
>
> Attachments: BOOKKEEPER-133.patch, bookeeper-133.patch
>
>
> Currently hub server use counter-based mechanism to update subscription state
> lazily to zookeeper.
> But in the following case, it didn't do it.
> 1) losing ownership of Topic
> 2) hub server shuts down
> 3) a subscription channel disconnected
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira