Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-20085] Remove RemoteFunctionStateMigrator from restore code paths #172

Closed
wants to merge 2 commits into from

Conversation

tzulitai
Copy link
Contributor

The RemoteFunctionStateMigrator was added in 2.2.x to allow migrating legacy multiplexed remote function state in versions < 2.2.0, to the new demultiplexed format starting from 2.2.

Since the 2.2 series is now released and writes only in the new formats, we can now safely remove this migration path.

What this means for users that are still on StateFun versions < 2.2.0, if they want to upgrade to 2.3.x in the future:

  • They need to first upgrade to 2.2.x, and take a savepoint from that version
  • Then, use the 2.2.x savepoint to upgrade to 2.3.x.

Change log

  • b6450d6 Remove RemoteFunctionStateMigrator and all its usages
  • 81dd548 Remove config key statefun.remote.migrate-legacy-state, which was introduced in the past as an internal flag for switching on the migration path, if users require it.

Copy link
Contributor

@igalshilman igalshilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tzulitai, looks good to me!

@tzulitai tzulitai closed this in 9a93f74 Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants