GitHub user shixiaogang opened a pull request:

    https://github.com/apache/flink/pull/3558

    [FLINK-6096][checkpoint] Refactor the migration of old-versioned savepoints

    1. The migrated classes in `SavepointV0` are moved to the package 
`org.apache.flink.migration.v0`. In the future, each deprecated savepoint 
version will have its own migration package.
    2. A mapping is deployed in `SavepointV0` to record all deprecated classes. 
`MigrationInstantiationUtil` now will use the mapping to correctly deserialized 
those deprecated classes.
    3. Unused methods in migrated classes are removed.
    4. The formats in old snapshots are added in the comments to help 
understand the restoring.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shixiaogang/flink flink-6096

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3558.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3558
    
----
commit b5f9d73703372c0d71da2c84cdd11dce16641b28
Author: xiaogang.sxg <xiaogang....@alibaba-inc.com>
Date:   2017-03-17T08:56:00Z

    Refactor the migration of old-versioned savepoints

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to