kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Eriksson (JIRA) <j...@apache.org>
Subject [jira] [Created] (KAFKA-5546) Lost data when the leader is disconnected.
Date Fri, 30 Jun 2017 13:37:00 GMT
Björn Eriksson created KAFKA-5546:

             Summary: Lost data when the leader is disconnected.
                 Key: KAFKA-5546
                 URL: https://issues.apache.org/jira/browse/KAFKA-5546
             Project: Kafka
          Issue Type: Bug
          Components: producer 
    Affects Versions:
            Reporter: Björn Eriksson
         Attachments: kafka-failure-log.txt

We've noticed that if the leaders networking is deconfigured (with {{ifconfig eth0 down}})
the producer won't notice this and doesn't immediately connect to the newly elected leader.

{{docker-compose.yml}} and test runner are at https://github.com/owbear/kafka-network-failure-tests
with sample test output at https://github.com/owbear/kafka-network-failure-tests/blob/master/README.md#sample-results

I was expecting a transparent failover to the new leader.

The attached log shows that while the producer produced values between {{12:37:33}} and {{12:37:54}},
theres a gap between {{12:37:41}} and {{12:37:50}} where no values was stored in the log after
the network was taken down at {{12:37:42}}.

This message was sent by Atlassian JIRA

View raw message