apoorvmittal10 commented on code in PR #19928: URL: https://github.com/apache/kafka/pull/19928#discussion_r2136268973
########## core/src/main/java/kafka/server/share/DelayedShareFetch.java: ########## @@ -808,9 +809,18 @@ private void releasePartitionLocksAndAddToActionQueue(Set<TopicIdPartition> topi // then we should check if there is a pending share fetch request for the topic-partition and complete it. // We add the action to delayed actions queue to avoid an infinite call stack, which could happen if // we directly call delayedShareFetchPurgatory.checkAndComplete - replicaManager.addToActionQueue(() -> topicIdPartitions.forEach(topicIdPartition -> + replicaManager.addToActionQueue(() -> topicIdPartitions.forEach(topicIdPartition -> { Review Comment: Done, and updated the commented with minor change. Frop `topic-partition` => `share-partition`. -- 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