afshin-deriv commented on code in PR #2929:
URL: https://github.com/apache/kafka/pull/2929#discussion_r1964704064


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java:
##########
@@ -864,7 +864,8 @@ private PartitionRecords parseCompletedFetch(CompletedFetch 
completedFetch) {
                     log.trace("Updating last stable offset for partition {} to 
{}", tp, partition.lastStableOffset);
                     subscriptions.updateLastStableOffset(tp, 
partition.lastStableOffset);
                 }
-            } else if (error == Errors.NOT_LEADER_FOR_PARTITION) {
+            } else if (error == Errors.NOT_LEADER_FOR_PARTITION ||
+                       error == Errors.KAFKA_STORAGE_ERROR) {

Review Comment:
   ????



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