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/07/05 07:17:53 UTC

[GitHub] [flink] klion26 opened a new pull request #8751: [FLINK-11937][StateBackend]Resolve small file problem in RocksDB incremental checkpoint

klion26 opened a new pull request #8751: [FLINK-11937][StateBackend]Resolve small file problem in RocksDB incremental checkpoint
URL: https://github.com/apache/flink/pull/8751
 
 
   ## What is the purpose of the change
   
   This pr wants to fix the problem of too many small files in RocksDB incremental checkpoint.
   
   - commit 027658cc8b introduces some components to support this feature
   - commit f9de491436 add some tests for the newly introduced components
   - commit 95ffded0a8 add a statehandle type in SavepoitnV2Serializer
   - commit 0fa18e426e add parameter `checkpointId` for `CheckpointStreamFactory#createChecpointStateOutputStream`
   - commit 3220941f9b Replace the `getSharedStateHandleIDs` function with `getSharedState`
   - commit 40edc349dc Enable FSCSOS for RocksDBStateBackend
   - commit bdc84604ce Add tests for FSCSOS (mainly added tests in `SharedStateRegistryTest` and tests in `RocksDBStateBackendTest`)
   - commit 73dbcc1309 rebase the newly master branch
   
   ## Brief change log
   
   This pr introduces some necessary classes, such as
   - FsSegmentCheckpointStorage
   - FsCheckpointStreamFactory
   - FsSegmentCheckpointStorageLocation
   - FsSegmentCheckpointStreamFactory
   - FsSegmentStateBackend
   - FsSegmentStateHandle
   This pr modifies some exist classes to support this feature, such as:
   - SharedStateRegistry
   - RocksDBStateBackend
   and add some tests to verify the correct.
   
   ## Verifying this change
   This pr introduces some test and modified some exist test to verify the changes.
   - SharedStateRegistryTest
   - RocksDBStateBackendTest
   - FsSegmentCheckpointStorageTest
   - FsSegmentCheckpointStorageTest.java
   - FsSegmentStateBackendEntropyTest.java
   - FsSegmentStateHandleTest.java
   - RocksDBSegmentStateBackendFactoryTest.java
   - SavepointV2SerializerTest.java
   
   
   ## 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, 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? (**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