-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-37021][state/forst] Implement fast cp/restore for ForSt StateBackend #25924
Conversation
e25d688
to
d8b1853
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I haven't finished review and left couple of comments in advance:
...nk-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java
Outdated
Show resolved
Hide resolved
...ntime/src/main/java/org/apache/flink/runtime/state/filesystem/FsCheckpointStorageAccess.java
Outdated
Show resolved
Hide resolved
...nk-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java
Show resolved
Hide resolved
...nk-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java
Show resolved
Hide resolved
...k-statebackend-forst/src/main/java/org/apache/flink/state/forst/fs/filemapping/FileType.java
Outdated
Show resolved
Hide resolved
...rst/src/main/java/org/apache/flink/state/forst/datatransfer/DataTransferStrategyBuilder.java
Outdated
Show resolved
Hide resolved
...kend-forst/src/main/java/org/apache/flink/state/forst/fs/filemapping/FileMappingManager.java
Show resolved
Hide resolved
eaea7d9
to
0585bec
Compare
...nd-forst/src/main/java/org/apache/flink/state/forst/fs/filemapping/FileOwnershipDecider.java
Outdated
Show resolved
Hide resolved
...kend-forst/src/main/java/org/apache/flink/state/forst/fs/filemapping/FileMappingManager.java
Outdated
Show resolved
Hide resolved
0585bec
to
42c4040
Compare
...st/src/main/java/org/apache/flink/state/forst/datatransfer/ReusableDataTransferStrategy.java
Show resolved
Hide resolved
e64f689
to
bd2aec3
Compare
...nk-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java
Outdated
Show resolved
Hide resolved
...nk-statebackend-forst/src/main/java/org/apache/flink/state/forst/ForStResourceContainer.java
Outdated
Show resolved
Hide resolved
958d085
to
b324519
Compare
@flinkbot run azure |
a69c797
to
a9905bd
Compare
And it seems the We can fix this later. |
a9905bd
to
5f8ee5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI is not triggering.... |
@flinkbot run azure |
5f8ee5a
to
b364d6b
Compare
b364d6b
to
88520eb
Compare
@flinkbot run azure |
What is the purpose of the change
This PR implements fast snapshot/restore for ForSt. Specifically, it implements different strategies for
ForStStateDataTransfer
, so that ForSt can reuse the checkpoint files as much as possible and thus reduce the cost of file copying.Brief change log
FileMappingManager
so it can track the ownership of filesForStStateDataTransfer
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation