You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/11/21 14:09:21 UTC

[GitHub] [flink] azagrebin opened a new pull request #10281: [FLINK-14898] Enable background cleanup of state with TTL by default

azagrebin opened a new pull request #10281: [FLINK-14898] Enable background cleanup of state with TTL by default
URL: https://github.com/apache/flink/pull/10281
 
 
   ## What is the purpose of the change
   
   So far, we were conservative about enabling background cleanup strategies for state with TTL. In general, if state is configured to have TTL, most users would expect the background cleanup to kick in. As there were no reported issues so far since the release of backend specific cleanups and that should not affect any state without TTL, this issue suggests to enable default background cleanup for backends.
   
   ## Brief change log
   
     - change initial value for `StateTtlConfig.Builder.isCleanupInBackground` to true
     - add `StateTtlConfig.Builder#disableCleanupInBackground`
     - add test for `StateTtlConfig.Builder#disableCleanupInBackground`
   
   ## Verifying this change
   
   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: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (docs / JavaDocs)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services