adeetya-u opened a new pull request, #24211:
URL: https://github.com/apache/kafka/pull/24211

   Replaying a ClearElrRecord replaces the partition registration directly, so 
brokersToElrs keeps brokers that are no longer in any ELR. The stale entry 
survives deletion of the topic, and a later unclean shutdown or unregistration 
of that broker makes the controller throw and resign.
   
   Update brokersToElrs in removeTopicElrs().
   
   Tested by extending 
ReplicationControlManagerTest#testElrsRemovedOnMinIsrUpdate.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_019fGxr9wkS9NXwgvPqwh3xN


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to