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

Replicas spuriously deleting all segments in partition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.1
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      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. Screen Shot 2015-10-10 at 6.54.44 PM.png
          690 kB
          Chinmay Soman
        2. kafka_log_trace.txt
          24 kB
          Håkon Hitland
        3. kafka_log.txt
          14 kB
          Håkon Hitland

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: