You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by shixiaogang <gi...@git.apache.org> on 2017/04/07 10:13:47 UTC

[GitHub] flink issue #3524: [FLINK-6014][checkpoint] Allow the registration of state ...

Github user shixiaogang commented on the issue:

    https://github.com/apache/flink/pull/3524
  
    @StephanEwen I have updated the PR, making the following changes:
    1. Add a method called `discardSharedStatesOnFail()` in `CompositeStateHandle`.  This method is called when the pending checkpoint fails to complete. That way, we do not need to register shared states once an acknowledge message is received.  All shared states are registered only when the pending checkpoint completes.
    2. Add `SharedStateHandle` and refactor `SharedStateRegistry` as suggested. 
    3. Both registration and unregistration of shared states now are taken place in `CompletedCheckpoint`.
    
    What do you think of these changes?


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