You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Seth Wiesman (Jira)" <ji...@apache.org> on 2019/12/12 14:54:00 UTC

[jira] [Commented] (FLINK-14942) State Processing API: add an option to make deep copy

    [ https://issues.apache.org/jira/browse/FLINK-14942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994758#comment-16994758 ] 

Seth Wiesman commented on FLINK-14942:
--------------------------------------

I've moved this from bug to improvement.

Yeah, this is definitely something that needs to be resolved and (at least in my head) is on the roadmap. I'm not sure when I will have the bandwidth to pick it up but if someone else wants to work on it I'm happy to talk about ideas.

> State Processing API: add an option to make deep copy
> -----------------------------------------------------
>
>                 Key: FLINK-14942
>                 URL: https://issues.apache.org/jira/browse/FLINK-14942
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / State Processor
>    Affects Versions: 1.11.0
>            Reporter: Jun Qin
>            Priority: Major
>
> Current when a new savepoint is created based on a source savepoint, then there are references in the new savepoint to the source savepoint. Here is the [State Processing API doc|https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/libs/state_processor_api.html] says: 
> bq. Note: When basing a new savepoint on existing state, the state processor api makes a shallow copy of the pointers to the existing operators. This means that both savepoints share state and one cannot be deleted without corrupting the other!
> This JIRA is to request an option to have a deep copy (instead of shallow copy) such that the new savepoint is self-contained. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)