You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2020/07/10 00:36:00 UTC

[jira] [Created] (KAFKA-10263) Do not create standbys for those revoking active tasks if it is not stateful

Guozhang Wang created KAFKA-10263:
-------------------------------------

             Summary: Do not create standbys for those revoking active tasks if it is not stateful
                 Key: KAFKA-10263
                 URL: https://issues.apache.org/jira/browse/KAFKA-10263
             Project: Kafka
          Issue Type: Improvement
            Reporter: Guozhang Wang
            Assignee: Guozhang Wang


Today in StreamsPartitionAssignor, if an intended active tasks is not yet revoked from the old owner we would not give it to the newly assigned owner, but instead we would assign it as a standby task to the new owner to let it start restoring a bit early.

However, if that task is not stateful, then there's no point trying to let it restore at all. This should be avoided in the assignor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)