cadonna commented on code in PR #12600: URL: https://github.com/apache/kafka/pull/12600#discussion_r968207039
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java: ########## @@ -960,7 +1011,7 @@ private void removeRevokedTasksFromStateUpdater(final Set<TopicPartition> remain for (final Task restoringTask : stateUpdater.getTasks()) { if (restoringTask.isActive()) { if (remainingRevokedPartitions.containsAll(restoringTask.inputPartitions())) { - tasks.addPendingTaskToCloseClean(restoringTask.id()); + tasks.addPendingActiveTaskToSuspend(restoringTask.id()); Review Comment: Yeah, I had similar thoughts about that a task must only be in one of the bookkeeping sets. I even thought about a dedicated data structure for that. Let me create a PR for it. -- 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