José Armando García Sancio created KAFKA-19142:
--------------------------------------------------

             Summary: TestKitNodes doesn't bootstrap KIP-853 correctly
                 Key: KAFKA-19142
                 URL: https://issues.apache.org/jira/browse/KAFKA-19142
             Project: Kafka
          Issue Type: Sub-task
          Components: kraft, unit tests
            Reporter: José Armando García Sancio


In some tests in KRaftClusterTest the kraft version is configured using the 
TestKitNodes#setFeatureLevel method. That doesn't properly bootstrap a KIP-853 
cluster since it records the kraft version using FeatureLevelRecord instead of 
KRaftVersion control record.

Any time the kraft.version is 1, it must be guaranteed that the voter set is 
also persisted in the partition.

Take a look at `RaftClientTestContext#testDescribeKRaftVersion` for an example 
on how to configure a cluster with kraft version 1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to