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 #3466: [FLINK-5715] Asynchronous snapshots for heap-based...
Date Thu, 09 Mar 2017 10:19:39 GMT
Github user StefanRRichter commented on a diff in the pull request:

    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/filesystem/FsStateBackend.java
    @@ -97,6 +100,27 @@ public FsStateBackend(String checkpointDataUri) throws IOException
     	 * @param checkpointDataUri The URI describing the filesystem (scheme and optionally
     	 *                          and the path to the checkpoint data directory.
    +	 * @param asynchronousSnapshots Switch to enable asynchronous snapshots.
    +	 *
    +	 * @throws IOException Thrown, if no file system can be found for the scheme in the
    +	 */
    +	public FsStateBackend(String checkpointDataUri, boolean asynchronousSnapshots) throws
IOException {
    --- End diff --
    I agree that the explosion is not nice, and it is certainly easy to change that. I just
have a preference to initialize the configuration as eager and `final` as possible

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message