GitHub user StefanRRichter opened a pull request:
https://github.com/apache/flink/pull/5005
Flink 8053 default async
## What is the purpose of the change
This PR changes the default configuration for all heap based state backends
to use asynchronous snapshots.
## Brief change log
All constructors now use `true` as value for setting asynchronous snapshot
mode.
## Verifying this change
I added `HeapKeyedStateBackendAsyncByDefaultTest`.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (yes)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (changed the docs)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StefanRRichter/flink FLINK-8053-default-async
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5005.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5005
----
commit d9b9a76e03ff34cfd9893a113871144c2bc3bb3d
Author: Stefan Richter <[email protected]>
Date: 2017-11-13T13:31:45Z
[FLINK-8053] [checkpoints] Default to asynchronous snapshots for
FsStateBackend and MemoryStateBackend
commit 5c7c2107d58ed95bbb8a7b95b79decca94d470b1
Author: Stefan Richter <[email protected]>
Date: 2017-11-13T13:44:14Z
[FLINK-8053] [checkpoints] Updated documentation.
----
---