Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2160

DelayedOperationPurgatory should remove the pair in watchersForKey with empty watchers list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. KAFKA-2160_2015-04-30_15:20:14.patch
          11 kB
          Guozhang Wang
        2. KAFKA-2160_2015-05-06_16:31:48.patch
          29 kB
          Guozhang Wang
        3. KAFKA-2160_2015-05-18_14:07:48.patch
          53 kB
          Guozhang Wang
        4. KAFKA-2160.patch
          5 kB
          Guozhang Wang
        5. KAFKA-2160.patch
          8 kB
          Guozhang Wang

        Issue Links

          Activity

            People

              guozhang Guozhang Wang
              guozhang Guozhang Wang
              Jun Rao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: