akhileshchg opened a new pull request, #12533:
URL: https://github.com/apache/kafka/pull/12533

   KAFKA-14170: Fix NPE in the deleteTopics() code path of KRaft Controller
   
   While replaying the `RemoveTopicRecord` in the Controller, we remove all the
   in-memory states for the topic. While removing any offline partition data, if
   there are any offline partitions in the system, we wrongly look up the 
offline
   partition count for the topic we're removing. Fixed this lookup and added an
   integration test.
   
   While adding an integration test, found a bug in MetadataDelta#replay code
   while processing `RemoveTopicRecord`. 


-- 
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