You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jolshan (via GitHub)" <gi...@apache.org> on 2023/06/16 22:40:44 UTC

[GitHub] [kafka] jolshan commented on a diff in pull request #13421: KAFKA-14824: ReplicaAlterLogDirsThread may cause serious disk growing in case of potential exception

jolshan commented on code in PR #13421:
URL: https://github.com/apache/kafka/pull/13421#discussion_r1232859045


##########
core/src/main/scala/kafka/server/AbstractFetcherThread.scala:
##########
@@ -706,6 +706,8 @@ abstract class AbstractFetcherThread(name: String,
    *    - the request succeeded or
    *    - it was fenced and this thread hasn't received new epoch, which means we need not backoff and retry as the
    *    partition is moved to failed state.
+   *    - for ReplicaAlterLogDirsThread, "OutOfRange" error is generated when starting fetch to leader (source dir,

Review Comment:
   Just for my understanding, the new replica starts with trying to fetch offset 0, and in the case 0 is not the first offset, throws OffsetOutOfRange?



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