[ 
https://issues.apache.org/jira/browse/FLINK-33341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779124#comment-17779124
 ] 

Stefan Richter commented on FLINK-33341:
----------------------------------------

[~Yanfei Lei], yes only the previous local state is available to be used in 
rescaling, so we might still need to download additional state from remote. But 
oftentimes we don't need to download everything from remote, in particular if 
we scale out we will often find the complete state locally on some machines and 
just need to drop some key-groups. And for scale-in, we should at least find 
one piece of the state locally. There is no good reason not to 
opportunistically use local state also in rescaling scenarios. No change to the 
scheduler will be needed.

> Use available local state for rescaling
> ---------------------------------------
>
>                 Key: FLINK-33341
>                 URL: https://issues.apache.org/jira/browse/FLINK-33341
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / State Backends
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>            Priority: Major
>
> Local state is currently only used for recovery. However, it would make sense 
> to also use available local state in rescaling scenarios to reduce the amount 
> of data to download from remote storage.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to