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:
[email protected]


With regards,
Apache Git Services

Reply via email to