guozhangwang commented on code in PR #13523: URL: https://github.com/apache/kafka/pull/13523#discussion_r1161010646
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/StoreChangelogReader.java: ########## @@ -456,15 +456,21 @@ public long restore(final Map<TaskId, Task> tasks) { // TODO: we always try to restore as a batch when some records are accumulated, which may result in // small batches; this can be optimized in the future, e.g. wait longer for larger batches. final TaskId taskId = changelogs.get(partition).stateManager.taskId(); - try { - final Task task = tasks.get(taskId); - final ChangelogMetadata changelogMetadata = changelogs.get(partition); - totalRestored += restoreChangelog(task, changelogMetadata); - } catch (final TimeoutException timeoutException) { - tasks.get(taskId).maybeInitTaskTimeoutOrThrow( - time.milliseconds(), - timeoutException - ); + final Task task = tasks.get(taskId); Review Comment: Nope, I think it's just for me to write on a diff. It's not intentional. -- 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