cadonna commented on code in PR #15894: URL: https://github.com/apache/kafka/pull/15894#discussion_r1593985778
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java: ########## @@ -149,14 +149,25 @@ public void run() { } catch (final RuntimeException anyOtherException) { handleRuntimeException(anyOtherException); } finally { - removeAddedTasksFromInputQueue(); - removeUpdatingAndPausedTasks(); + clearInputQueue(); + updatingTasks.clear(); + pausedTasks.clear(); + changelogReader.clear(); Review Comment: I refactored this code a bit. -- 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