[ https://issues.apache.org/jira/browse/FLINK-21452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17291153#comment-17291153 ]
Arvid Heise commented on FLINK-21452: ------------------------------------- Merged as fb99ce2e22ca84dece1f7a431a92a4cecb6a71f2^ in 1.12 and as 81cfe465c9e4a17e563e1b4c02cd60a63b984de5^ in master. > FLIP-27 sources cannot reliably downscale > ----------------------------------------- > > Key: FLINK-21452 > URL: https://issues.apache.org/jira/browse/FLINK-21452 > Project: Flink > Issue Type: Bug > Components: Connectors / Common > Affects Versions: 1.12.1, 1.13.0 > Reporter: Arvid Heise > Assignee: Arvid Heise > Priority: Critical > Labels: pull-request-available > Fix For: 1.12.2, 1.13.0 > > > Sources currently store their registered readers into the snapshot. However, > when downscaling, we have unmatched readers that we violate a couple of > invariants. > The solution is to not store registered readers - they are re-registered > anyways on restart. > To keep it backward compatible, the best option is to always store an empty > set of readers while writing the snapshot and discard any recovered readers > from the snapshot. -- This message was sent by Atlassian Jira (v8.3.4#803005)