You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "John Fung (JIRA)" <ji...@apache.org> on 2012/10/13 07:33:02 UTC

[jira] [Commented] (KAFKA-572) Merged log segment checksums mismatched in Leader failure System Test case

    [ https://issues.apache.org/jira/browse/KAFKA-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475535#comment-13475535 ] 

John Fung commented on KAFKA-572:
---------------------------------

* 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 shortly
5. Start a consumer to consume data
6. Compare the MessageID in the data between producer log and consumer log.

* 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"

* Output from the test - No data loss but merged log segment checksums mismatched

2012-10-12 22:27:35,760 - INFO - ======================================================
2012-10-12 22:27:35,760 - INFO - validating data matched
2012-10-12 22:27:35,760 - INFO - ======================================================
2012-10-12 22:27:35,771 - INFO - no. of unique messages on topic [test_1] sent from publisher  : 500 (kafka_system_test_utils)
2012-10-12 22:27:35,771 - INFO - no. of unique messages on topic [test_1] received by consumer : 500 (kafka_system_test_utils)
2012-10-12 22:27:35,771 - INFO - ================================================
2012-10-12 22:27:35,771 - INFO - validating merged broker log segment checksums
2012-10-12 22:27:35,771 - INFO - ================================================
{u'kafka_server_1_logs:test_1-0': 'd70c8d37634b0b08cd407eb042e77ef8',
 u'kafka_server_2_logs:test_1-0': 'd70c8d37634b0b08cd407eb042e77ef8',
 u'kafka_server_3_logs:test_1-0': '924d30d5f0d2a8ba9ef45f7cba88e192'}
2012-10-12 22:27:35,774 - ERROR - merged log segment checksum in test_1-0 mismatched (kafka_system_test_utils)


                
> Merged log segment checksums mismatched in Leader failure System Test case
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-572
>                 URL: https://issues.apache.org/jira/browse/KAFKA-572
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: John Fung
>         Attachments: kafka-572-reproduce-issue.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira