-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature] Support restoring from a cluster snapshot for shared-data (part 1) #53861
base: main
Are you sure you want to change the base?
Conversation
fe/fe-core/src/main/java/com/starrocks/common/RestoreSnapshotConfig.java
Show resolved
Hide resolved
cc323ba
to
3573838
Compare
3573838
to
c7b9e88
Compare
…part 1) Signed-off-by: xiangguangyxg <[email protected]>
c7b9e88
to
7d13b75
Compare
Quality Gate passedIssues Measures |
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 109 / 126 (86.51%) file detail
|
|
||
import java.util.List; | ||
|
||
public class RestoreSnapshotMgr { |
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.
Should we use RestoreClouldNativeSnapshotMgr
?
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.
Never been named like this before, usually distinguished by namespace.
In addition, this class is common to shared data and shared nothing?
Why I'm doing:
To support disaster recovery for shared-data
What I'm doing:
Introduce a config file
restore_snapshot.yaml
for FE.Put the image file of a snapshot in
fe/meta/image
and clear thefe/meta/bdb
,than use
./bin/start_fe.sh --restore_snapshot --daemon
to start to restore from the snapshot.What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: