nicktelford commented on code in PR #16922:
URL: https://github.com/apache/kafka/pull/16922#discussion_r1735028498


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java:
##########
@@ -475,7 +518,7 @@ private void handleTasksWithoutStateUpdater(final 
Map<TaskId, Set<TopicPartition
                     tasksToRecycle.put(task, standbyTasksToCreate.get(taskId));
                 }
                 standbyTasksToCreate.remove(taskId);
-            } else {
+            } else if (!recycledInitialTasks.contains(taskId)) {

Review Comment:
   We add our pending standby tasks to the `tasks` on lines 491 (for active 
tasks) and 496 (for standbys) above.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to