GitHub user azagrebin opened a pull request: https://github.com/apache/flink/pull/6313
[FLINK-9701] Add TTL in state descriptors ## What is the purpose of the change This PR activates TTL feature in state descriptors. ## Brief change log - add method enabling TTL with configuration in state descriptor - integrate TTL tests with heap and rocksdb backends ## Verifying this change TTL unit tests ## 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)`: (yes) - The serializers: (yes) - 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? (yes) - If yes, how is the feature documented? (not documented) You can merge this pull request into a Git repository by running: $ git pull https://github.com/azagrebin/flink FLINK-9701 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/6313.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 #6313 ---- commit 0f6a3e297b95defeafb1e31899e22195c5985702 Author: Andrey Zagrebin <azagrebin@...> Date: 2018-07-03T17:23:41Z [FLINK-9701] Add TTL in state descriptors ---- ---