GitHub user shixiaogang opened a pull request:

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

    [FLINK-6014][checkpoint] Allow the registration of state objects in 
checkpoints

    - Introduce `CompositeStateHandle` which is composed of a collection of 
`StateObject`s and can register these `StateObject`s in `StateRegistry`.
    - Use `StateRegistry` to maintain the reference count of the `StateObject`s 
in completed checkpoints. A `StateObject` is deleted only if its reference 
count is zero.

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

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

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

    https://github.com/apache/flink/pull/3524.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 #3524
    
----
commit a1796f2a0538c02a2154459fef8f931e14e18fca
Author: xiaogang.sxg <xiaogang....@alibaba-inc.com>
Date:   2017-03-13T11:23:47Z

    Allow registration of state objects in checkpoints

commit de272a1f78356b940a3b9421dad70937596c3a94
Author: xiaogang.sxg <xiaogang....@alibaba-inc.com>
Date:   2017-03-13T11:29:21Z

    remove unnecessary synchronization in StateRegistry

----


---
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