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

    https://github.com/apache/flink/pull/5578#discussion_r171181196
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/TaskLocalStateStoreImpl.java
 ---
    @@ -90,6 +92,9 @@
        @GuardedBy("lock")
        private boolean disposed;
     
    +   /** Whether to discard the useless state when retrieve local checkpoint 
state. */
    +   private boolean retrieveWithDiscard = true;
    --- End diff --
    
    Agreed and I prefer the second option.


---

Reply via email to