Great point. We could just do Reelect here as you suggested. I was thinking 
that we could also potentially inline the logic (clear the event queue, mark 
the controller as inactive and call onControllerResignation()) here instead of 
enqueuing the logic to the event queue.  However, it seems that the former may 
be simpler.

[ Full content available at: https://github.com/apache/kafka/pull/5101 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to