You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/09/01 12:53:20 UTC

[jira] [Created] (FLINK-4556) Make Queryable State Key-Group Aware

Aljoscha Krettek created FLINK-4556:
---------------------------------------

             Summary: Make Queryable State Key-Group Aware
                 Key: FLINK-4556
                 URL: https://issues.apache.org/jira/browse/FLINK-4556
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
    Affects Versions: 1.2.0
            Reporter: Aljoscha Krettek
            Priority: Blocker


The recent introduction of key-grouped state breaks queryable state because the JobManager does not yet forward the client to the correct TaskManager based on key-group ranges.

This will either have to be implemented on the JobManager side, i.e. in {{AkkaKvStateLocationLookupService}} or on the {{TaskManager}} when state is registered. The JobManager can know the mapping because it should know the {{parallelism}}/{{maxParallelism}} which it can use to determine where the state for a key-group is stored. The {{TaskManager}} send a {{NotifyKvStateRegistered}} message that already contains a {{keyGroupIndex}} field that is not useful/correct at the moment, though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)