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

System Test : Leader Failure Log Segment Checksum Mismatched When request-num-acks is 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None
    • None

    Description

      • Test Description:

      1. Start a 3-broker cluster as source
      2. Send messages to source cluster
      3. Find leader and terminate it (kill -15)
      4. Start the broker again
      5. Start a consumer to consume data
      6. Compare the MessageID in the data between producer log and consumer log.

      • Issue: There will be data loss if request-num-acks is set to 1.

      • To reproduce this issue, please do the followings:

      1. Download the latest 0.8 branch
      2. Apply the patch attached to this JIRA
      3. Build kafka by running "./sbt update package"
      4. Execute the test in directory "system_test" : "python -B system_test_runner.py"
      5. This test will execute testcase_2 with the following settings:
      Replica factor : 3
      No. of partitions : 1
      No. of bouncing : 1

      Attachments

        1. acks1_leader_failure_data_loss.tar.gz
          708 kB
          John Fung
        2. kafka-573.patch
          9 kB
          Jun Rao
        3. kafka-573-reproduce-issue.patch
          38 kB
          John Fung

        Activity

          People

            junrao Jun Rao
            jfung John Fung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: