hachikuji commented on pull request #9441:
URL: https://github.com/apache/kafka/pull/9441#issuecomment-852487435
@tombentley Apologies for the delay. I was out on leave for the past month.
I responded to Guozhang's comment. Let me know if it makes sense or not.
--
This is an automated me
hachikuji commented on pull request #9441:
URL: https://github.com/apache/kafka/pull/9441#issuecomment-828703078
@tombentley Thanks for the updates. I made a few small changes in this
patch:
https://github.com/hachikuji/kafka/commit/27ba937cc7b7da230ccc4f0c8220f680c4a542fe.
The main thing
hachikuji commented on pull request #9441:
URL: https://github.com/apache/kafka/pull/9441#issuecomment-709447330
@tombentley Actually I missed the holding of the `replicaStateChangeLock`
inside `ReplicaManager.becomeLeaderOrFollower`. So the reordering I suggested
above seems not possible.
hachikuji commented on pull request #9441:
URL: https://github.com/apache/kafka/pull/9441#issuecomment-709432283
@tombentley Thanks for the patch. I think the problem is in the callback
inside `KafkaApis.handleLeaderAndIsrRequest`. With two concurrent
`LeaderAndIsr` requests, there is no g