Github user StefanRRichter commented on the issue:

    https://github.com/apache/flink/pull/4353
  
    BTW, one alternative I was once considering for the scale down case is 
merging state handles that are backed by different physical files in one 
logical state handle, using something based on `MultiStreamStateHandle`. That 
would require minor changes in how the backends currently iterate the handles 
and some calculation of virtual offsets near the `StateAssignmentOperation`, 
mapping the old physical file offsets to the new logical offsets in the stream 
that gives a consecutive logical view over the files. Then, the whole code 
would never again deal with this detail. Wonder if this is worth the effort?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to