Jay Kreps created KAFKA-1347:
--------------------------------

             Summary: Create a system test for network partitions
                 Key: KAFKA-1347
                 URL: https://issues.apache.org/jira/browse/KAFKA-1347
             Project: Kafka
          Issue Type: Test
            Reporter: Jay Kreps


We got some free and rather public QA here:
http://aphyr.com/posts/293-call-me-maybe-kafka

We have since added a configuration to disable unclean leader election which 
allows you to prefer consistency over availability when all brokers fail.

This has some unit tests, but ultimately there is no reason to believe this 
works unless we have a fairly aggressive system test case for it.
https://cwiki.apache.org/confluence/display/KAFKA/Kafka+System+Tests

It would be good to add support for network partitions. I don't think we 
actually need to try to use the jepsen stuff directly, we can just us the 
underlying tools it uses--iptables and tc. These are linux specific, but that 
is prolly okay. You can see these at work here:
https://github.com/aphyr/jepsen/blob/master/src/jepsen/control/net.clj

Having this would help provide better evidence that this works now, and would 
keep it working in the future.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to