[
https://issues.apache.org/jira/browse/BOOKKEEPER-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved BOOKKEEPER-1098.
-----------------------------------
Resolution: Fixed
Assignee: Samuel Just
Fix Version/s: 4.5.0
> ZkUnderreplicationManager can build up an unbounded number of watchers
> ----------------------------------------------------------------------
>
> Key: BOOKKEEPER-1098
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1098
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-auto-recovery
> Reporter: Samuel Just
> Assignee: Samuel Just
> Priority: Minor
> Fix For: 4.5.0
>
>
> getLedgerToReplicate leaves watches each time it traverses the
> tree until it finds a suitable replication target. Since we don't have
> a way of canceling watches, these watches tend to get abandoned,
> particularly on interior nodes, which aren't changed much. Thus,
> over time, some nodes would build up a very large number of watches.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)