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


##########
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:
   Seems it's changed back lol :P we can change this again if we want later.



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