[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476078#comment-13476078
 ] 

Stu Hood commented on BOOKKEEPER-422:
-------------------------------------

I think that the SortedMap would be premature... as mentioned above, I think 
we'd be better off distinguishing between subscriber types via fields on some 
new Subscriber object, which could additionally allow for the namespacing 
needed for BOOKKEEPER-433.
                
> Simplify AbstractSubscriptionManager
> ------------------------------------
>
>                 Key: BOOKKEEPER-422
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-422
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: hedwig-server
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>            Priority: Minor
>         Attachments: bk-422.diff, bk-422.diff, bk-422.diff
>
>
> It's difficult to maintain a duplicated/cached count of local subscribers, 
> and we've experienced a few issues due to it getting out of sync with the 
> actual set of subscribers. Since a count of local subscribers can be 
> calculated from the top2sub2seq map, let's do that instead.

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

Reply via email to