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

dead brokers coming in the TopicMetadataResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2.0
    • 0.8.2.0
    • None
    • None
    • 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

        1. bringAllBrokers.patch
          9 kB
          nicu marasoiu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: