Luke Chen created KAFKA-16247:
---------------------------------

             Summary: 1 replica keep out-of-sync after migrating broker to KRaft
                 Key: KAFKA-16247
                 URL: https://issues.apache.org/jira/browse/KAFKA-16247
             Project: Kafka
          Issue Type: Bug
            Reporter: Luke Chen


We are deploying 3 controllers and 3 brokers, and following the steps in 
[doc|https://kafka.apache.org/documentation/#kraft_zk_migration]. When we're 
moving from "Enabling the migration on the brokers" state to "Migrating brokers 
to KRaft" state, the first rolled broker becomes out-of-sync and never become 
in-sync. 


>From the log, we can see some "reject alterPartition" errors, but it just 
>happen 2 times. Theoretically, the leader should add the follower  into ISR as 
>long as the follower is fetching since we don't have client writing data. But 
>can't figure out why it didn't fetch. 


Logs: https://gist.github.com/showuon/64c4dcecb238a317bdbdec8db17fd494



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

Reply via email to