hachikuji commented on PR #12506:
URL: https://github.com/apache/kafka/pull/12506#issuecomment-1212257796

   One note: this patch fixes the problem for the zk controller, but I believe 
the problem exists for kraft as well. I am thinking we can address that 
separately with a slightly different approach. Basically we can use the 
`handleLeaderChange` notification on `RaftClient.Listener` in order to push 
controller changes directly to `BrokerToControllerChannelManager`. This can 
give us a guarantee that `AlterPartition` can only be sent to controllers which 
have an epoch which is at least as large as any partition change that the 
request is based off of.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to