yigress opened a new pull request, #23425: URL: https://github.com/apache/flink/pull/23425
## What is the purpose of the change provide option to clean up checkpoints faster in CheckpointsCleaner ## Brief change log adds a checkpointing config state.checkpoints.cleaner.fastmode default false, if true, this change gathers all statebojects to be discarded and use the executor passed in the cleanup function to clean them in parallel. ## Verifying this change This change added tests and can be verified as follows: - added test that validates all discardable stateobjects to be cleaned up. - manually verified the change with clean up 4K state files in blobstorage, it reduces time from ~8 minute to 1 minute on a 8 threads pool ## 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 / no) - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: Checkpointing - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) -- 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org