You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2015/04/30 23:04:06 UTC

[jira] [Updated] (KAFKA-2160) DelayedOperationPurgatory should remove the pair in watchersForKey with empty watchers list

     [ https://issues.apache.org/jira/browse/KAFKA-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang updated KAFKA-2160:
---------------------------------
    Status: Patch Available  (was: Open)

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