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

Replicas spuriously deleting all segments in partition

    XMLWordPrintableJSON

Details

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

    Description

      We're seeing some strange behaviour in brokers: a replica will sometimes schedule all segments in a partition for deletion, and then immediately start replicating them back, triggering our check for under-replicating topics.

      This happens on average a couple of times a week, for different brokers and topics.

      We have per-topic retention.ms and retention.bytes configuration, the topics where we've seen this happen are hitting the size limit.

      Attachments

        1. kafka_log_trace.txt
          24 kB
          Håkon Hitland
        2. kafka_log.txt
          14 kB
          Håkon Hitland
        3. Screen Shot 2015-10-10 at 6.54.44 PM.png
          690 kB
          Chinmay Soman

        Issue Links

          Activity

            People

              becket_qin Jiangjie Qin
              hakon Håkon Hitland
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: