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

ASF GitHub Bot commented on FLINK-6346:
---------------------------------------

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3812#discussion_r114500437
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/GenericWriteAheadSink.java
 ---
    @@ -88,15 +93,23 @@ public void initializeState(StateInitializationContext 
context) throws Exception
                Preconditions.checkState(this.checkpointedState == null,
                        "The reader state has already been initialized.");
     
    -           checkpointedState = context.getOperatorStateStore()
    -                   .getSerializableListState("pending-checkpoints");
    +           javaCheckpointedState = 
context.getOperatorStateStore().getSerializableListState(checkpointedStateDescriptor.getName());
    --- End diff --
    
    It's never references anywhere outside this method though. 
`checkpointState` is, but not `javaCheckpointState`.


> Migrate from Java serialization for GenericWriteAheadSink's state
> -----------------------------------------------------------------
>
>                 Key: FLINK-6346
>                 URL: https://issues.apache.org/jira/browse/FLINK-6346
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Streaming Connectors
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Fang Yong
>
> See umbrella JIRA FLINK-6343 for details. This subtask tracks the migration 
> for {{GenericWriteAheadSink}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to