-
Notifications
You must be signed in to change notification settings - Fork 35
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
Create service and CLI stub for fast vnodes restore. #4200
Milestone
Comments
VAveryanov8
added a commit
that referenced
this issue
Jan 20, 2025
This adds a new task type for fast vnode restore. Fixes: #4200
VAveryanov8
added a commit
that referenced
this issue
Jan 20, 2025
This introduces new cli command for fast vnode restore procedure. Fixes: #4200
VAveryanov8
added a commit
that referenced
this issue
Jan 29, 2025
This adds a new task type for fast vnode restore. Fixes: #4200
VAveryanov8
added a commit
that referenced
this issue
Jan 29, 2025
This introduces new cli command for fast vnode restore procedure. Fixes: #4200
VAveryanov8
added a commit
that referenced
this issue
Feb 3, 2025
This adds a new task type for fast vnode restore. Relates: #4200
VAveryanov8
added a commit
that referenced
this issue
Feb 7, 2025
* feat(1-1-restore): adds new 1-1-restore sub command This introduces new cli sub command for the 1-1-restore Relates: #4200
VAveryanov8
added a commit
that referenced
this issue
Feb 7, 2025
This introduces new cli command for fast vnode restore procedure. Fixes: #4200
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The service can be located in /pkg/service/<new_restore_service_name> .
Tasks in Scylla Manager are started by the scheduler.
Every "task" service must implement Runner interface
scylla-manager/pkg/service/scheduler/runner.go
Line 17 in 68c99a6
that is used by the scheduler to trigger the task.
The stub must consist of the Runner implementation, constructor for the service accepting source-cluster-id, snapshot-id, nodes-mapping and the main method supervising the fast vnodes restore process.
The stub must be connected to the new CLI similar to (
scylla-manager/pkg/cmd/sctool/sctool.go
Line 65 in 61acf93
The goal of this task is to have working (but not final) CLI that schedules the 1-1 vnodes restore to start immediately. The main (supervising) restore method from the service stub can just log that "Not yet implemented".
The text was updated successfully, but these errors were encountered: