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

dead brokers coming in the TopicMetadataResponse

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      trunk

      Description

      JunRao confirming my observation that brokers are only added to the metadataCache, never removed: "The way that we update liveBrokers in MetadataCache.updateCache() doesn't seem right. We only add newly received live brokers to the list. However, there could be existing brokers in that list that are now dead. Those dead brokers shouldn't be returned to the clients. We should probably just take the new live broker list and cache it."

        Attachments

          Activity

            People

            • Assignee:
              nmarasoi nicu marasoiu
              Reporter:
              nmarasoi nicu marasoiu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: