Jonah Hooper created KAFKA-18720: ------------------------------------ Summary: System Tests for Unclean Recovery Key: KAFKA-18720 URL: https://issues.apache.org/jira/browse/KAFKA-18720 Project: Kafka Issue Type: Sub-task Reporter: Jonah Hooper Assignee: Jonah Hooper
There should be significant system-tests for unclean elections in order to prevent regressions. We should build a test for each new strategy. The tests will need to shutdown brokers in a specific configuration, deliberately mess with their logs and then restart them given a specific recovery election strategy. We will need separate tests for: 1. Balanced strategy 2. Designated election 3. Aggressive strategy 4. No strategy (IE wait for administrator) System tests which discover whether or not the controller automatically detects scenarios which warrant unclean election may also need to be tested if they cannot be fully covered by a unit or integration test. -- This message was sent by Atlassian Jira (v8.20.10#820010)