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

    https://github.com/apache/flink/pull/2939#discussion_r91721132
  
    --- Diff: 
flink-tests/src/test/java/org/apache/flink/test/checkpointing/CoStreamCheckpointingITCase.java
 ---
    @@ -323,26 +329,25 @@ public PrefixCount map(String value) {
                }
     
                @Override
    -           public Long snapshotState(long checkpointId, long 
checkpointTimestamp) {
    -                   return count;
    +           public void close() throws IOException {
    +                   counts[getRuntimeContext().getIndexOfThisSubtask()] = 
count;
    --- End diff --
    
    Please retain the order of the original methods; snapshot -> restore -> 
close


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