cadonna commented on code in PR #12312:
URL: https://github.com/apache/kafka/pull/12312#discussion_r907026839


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java:
##########
@@ -86,7 +88,7 @@ public Collection<StandbyTask> getUpdatingStandbyTasks() {
         }
 
         public boolean onlyStandbyTasksLeft() {
-            return !updatingTasks.isEmpty() && 
updatingTasks.values().stream().noneMatch(Task::isActive);
+            return !updatingTasks.isEmpty() && 
updatingTasks.values().stream().allMatch(t -> !t.isActive());

Review Comment:
   Oh no! That was not my intention! Let's change it back!



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

Reply via email to