You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2020/09/11 04:01:00 UTC

[jira] [Created] (FLINK-19199) Add execution attempt ID to feedback channel keys

Tzu-Li (Gordon) Tai created FLINK-19199:
-------------------------------------------

             Summary: Add execution attempt ID to feedback channel keys
                 Key: FLINK-19199
                 URL: https://issues.apache.org/jira/browse/FLINK-19199
             Project: Flink
          Issue Type: Task
          Components: Stateful Functions
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai


The feedback brokers identify a single pair of producer / consumer with a {{SubtaskFeedbackKey}}, which is uniquely identified within a job by only the subtask index.

This can potentially become an issue in job restart scenarios, since the feedback brokers are static fields, and are durable across non-TM failure job restarts.
Currently it is not a problem because we do clear broker channels on close, but adding an extra execution attempt ID into the {{SubtaskFeedbackKey}} can make things safer.



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