[ https://issues.apache.org/jira/browse/KAFKA-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546290#comment-14546290 ]
Guozhang Wang commented on KAFKA-2160: -------------------------------------- [~junrao][~jjkoshy] Could you take a look at the most recent approach? If it works promising to you I will pursue this direction and make some more optimizations on the coordiantor's usage of the purgatories. > DelayedOperationPurgatory should remove the pair in watchersForKey with empty > watchers list > ------------------------------------------------------------------------------------------- > > Key: KAFKA-2160 > URL: https://issues.apache.org/jira/browse/KAFKA-2160 > Project: Kafka > Issue Type: Bug > Reporter: Guozhang Wang > Assignee: Guozhang Wang > Attachments: KAFKA-2160.patch, KAFKA-2160.patch, > KAFKA-2160_2015-04-30_15:20:14.patch, KAFKA-2160_2015-05-06_16:31:48.patch > > > With purgatory usage in consumer coordinator, it will be common that watcher > lists are very short and live only for a short time. So we'd better clean > them from the watchersForKey Pool once the list become empty in > checkAndComplete() calls. -- This message was sent by Atlassian JIRA (v6.3.4#6332)