You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "splett2 (via GitHub)" <gi...@apache.org> on 2023/04/05 18:27:47 UTC
[GitHub] [kafka] splett2 commented on a diff in pull request #13501: MINOR: Use `exists` instead of return in DelayedFetch
splett2 commented on code in PR #13501:
URL: https://github.com/apache/kafka/pull/13501#discussion_r1158871931
##########
core/src/main/scala/kafka/server/DelayedFetch.scala:
##########
@@ -93,14 +93,14 @@ class DelayedFetch(
if (endOffset.onOlderSegment(fetchOffset)) {
// Case F, this can happen when the new fetch operation is on a truncated leader
debug(s"Satisfying fetch $this since it is fetching later segments of partition $topicIdPartition.")
- return forceComplete()
+ forceComplete()
Review Comment:
no, good point. Let me take a look and see if I can address this.
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org