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

Replicas spuriously deleting all segments in partition

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. kafka_log.txt
          14 kB
          Håkon Hitland
        2. kafka_log_trace.txt
          24 kB
          Håkon Hitland
        3. Screen Shot 2015-10-10 at 6.54.44 PM.png
          690 kB
          Chinmay Soman

        Issue Links

          Activity

            People

            • Assignee:
              becket_qin Jiangjie Qin
              Reporter:
              hakon Håkon Hitland

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment