[
https://issues.apache.org/jira/browse/KAFKA-10890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255472#comment-17255472
]
GeoffreyStark commented on KAFKA-10890:
---------------------------------------
It looks like the controller failed to send a LeaderAndIsr request to a 1013
node after it restarted, Then the 1013 node‘s log has been
{code:java}
"Ignoring LeaderAndIsr request from controller 1017 with the correlation id 33
epoch 6 fro partition sp since its associated leader 5 is not who the current
leader epoch 5 (state. Change. Logger). "
{code}
After a while, The producer reports an exception.
{code:java}
"The server is not The leader for that topically -- partition.. Going to
request metadata update now"
{code}
> Broker just stated Ignoring LeaderAndIsr request from controller
> -----------------------------------------------------------------
>
> Key: KAFKA-10890
> URL: https://issues.apache.org/jira/browse/KAFKA-10890
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0
> Environment: kfk 2.0
> 74 brokers
> 3 replica-factors
> Reporter: GeoffreyStark
> Priority: Major
> Attachments: jstack-1013broker-1228-1312, kafka元数据混乱.docx
>
>
> In auto.leader.rebalance.enabled=true
> Taking a Broker 1013 (with many leader partitions) offline;
> Then, after the leaders of these subdivisions have been elected from other
> ISRs,
> In theory, 1013 should once again become the leader of those partitions
> Indeed, if you look at the describe command and the information of the
> corresponding partition in ZK, you can see that the leader has changed back
> to 1013.
> But if you look at the Controller log and the 1013 log at this point, you'll
> see that there are some warning messages, and after a while,
> the producer reports an error"
> The server is not the leader for that topic-partition..Going to request
> metadata update now
> "
--
This message was sent by Atlassian Jira
(v8.3.4#803005)