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

   * There are instances where share group delete calls in group coordinator 
(`onPartitionsDelete`, `deleteShareGroups`) where we lookup the metadata image 
to fetch the topic id/partitions/topic name for a topic name/id from the 
metadata image. However, there have been instances where the looked up info was 
not found due to cluster being under load or the underlying topic being deleted 
and information not propagated correctly.
   * To remedy the same, this PR adds checks to determine that topic is indeed 
present in the image before the lookups thus preventing NPEs. The problematic 
situations as logged
   * New tests have been added for `GroupMetadataManger` and 
`GroupCoordinatorService`.


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