dengziming commented on PR #12274:
URL: https://github.com/apache/kafka/pull/12274#issuecomment-1155107171

   @hachikuji I saw what you mean, just change 
`fetchPurgatory.await(fetchPartition.fetchOffset())` to 
`fetchPurgatory.await(Math.min(fetchPartition.fetchOffset(), highWatermark))` ? 
sadly it still not work, I'm still checking the reason.
   
   but I also tried a similar solution in my PR that can solve the issue, which 
is to return directly if fetchPartition.fetchOffset() >= highWatermark.


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