flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] Zakelly opened a new pull request #16336: [FLINK-21804] Create and wire changelog storage with state backend
Date Thu, 01 Jul 2021 01:36:32 GMT

Zakelly opened a new pull request #16336:
URL: https://github.com/apache/flink/pull/16336


   ## What is the purpose of the change
   
   This pull request creates the storage for changelog state backend during task initialization.
The changelog state backend will use the storage to create changelog reader and writer.
   
   ## Brief change log
    - Add ```StateChangelogStorageFactory```, use ```PluginManager``` and ```ServiceLoader```
to load it.
    - Add ```StateChangelogStorageLoader```. It loads all ```StateChangelogStorageFactory```
and create ```StateChangelogStorage``` based on configuration.
    - Add ```TaskExecutorStateChangelogStoragesManager``` to manage all ```StateChangelogStorage```
objects for a task executor
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
     - Added tests in ```StateChangelogStorageLoaderTest``` for ```StateChangelogStorageFactory```
and ```StateChangelogStorageLoader```
     - Added tests in ```TaskExecutorStateChangelogStoragesManagerTest``` for ```TaskExecutorStateChangelogStoragesManager```
     
   The taskmanager creation and running procedure are covered by the existing IT cases.
   ## 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): no
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Kubernetes/Yarn, 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? docs and 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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message