flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StefanRRichter <...@git.apache.org>
Subject [GitHub] flink pull request #5239: [FLINK-8360] Implement task-local state recovery
Date Fri, 19 Jan 2018 10:15:51 GMT
Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5239#discussion_r162583540
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/StateUtil.java ---
    @@ -71,4 +72,22 @@ public static void discardStateFuture(RunnableFuture<? extends StateObject>
stat
     			}
     		}
     	}
    +
    +	/**
    +	 * Discards the given state collection future by first trying to cancel it. If this
is not possible, then
    +	 * the state object contained in the future is calculated and afterwards discarded.
    +	 *
    +	 * @param stateCollectionFuture to be discarded
    +	 * @throws Exception if the discard operation failed
    +	 */
    +	public static void discardStateCollectionFuture(
    --- End diff --
    
    👍 


---

Mime
View raw message