-
Notifications
You must be signed in to change notification settings - Fork 3
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
PB-5834: API Changes -> DIRECT_KDMP for Backup Object Level #235
Conversation
OSS Scan Results:
Total issues: 26 |
License Evaluation Results:
Total License Issues: 0 |
@@ -351,6 +351,8 @@ message BackupScheduleInfo { | |||
bool skip_vm_auto_exec_rules = 27; | |||
// volume snapshot class mapping for csi based backup <provisioner(string), volumesnapshotclass(string)> (optional) | |||
map<string, string> volume_snapshot_class_mapping = 28; | |||
// option to take backup as direct kdmp | |||
bool direct_kdmp = 29; |
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.
Any reason we need this to be part of backupschedule object as backup driver info already has driver type.
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.
BackupSchedule gives values to Backup. So for per backup level direct kdmp we need to add in BackupSchdeuleInfo too
@@ -534,6 +536,8 @@ message BackupInfo { | |||
bool skip_vm_auto_exec_rules = 36; | |||
// volume snapshot class mapping for csi based backup <provisioner(string), volumesnapshotclass(string)> (optional) | |||
map<string, string> volume_snapshot_class_mapping = 37; | |||
// option to take backup as direct kdmp | |||
bool direct_kdmp = 38; |
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.
Same as above
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.
Now its per backup level direct kdmp we should store the value to understand driver easily
pkg/apis/v1/api.proto
Outdated
@@ -1052,6 +1059,8 @@ message BackupScheduleUpdateRequest { | |||
ObjectRef post_exec_rule_ref = 16; | |||
// volume snapshot class mapping for csi based backup <provisioner(string), volumesnapshotclass(string)> (optional) | |||
map<string, string> volume_snapshot_class_mapping = 17; | |||
// option to take backup as direct kdmp | |||
bool direct_kdmp = 18; |
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.
One confusion which might cause here is if a user was on PX vol and had incremental backups and in between he switches to direct KDMP then it might lead to confusing as what incremental mean now where already we have confusion with generic backup. I am thinking if a user wants to switch, we should ask them to create new schedule.
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.
If we change the driver for backup schedule now. Each new backup after change will be full backup and those previous incremental backup will be irrelevant . This should be documented
OSS Scan Results:
Total issues: 26 |
License Evaluation Results:
Total License Issues: 0 |
OSS Scan Results:
Total issues: 26 |
License Evaluation Results:
Total License Issues: 0 |
OSS Scan Results:
Total issues: 26 |
License Evaluation Results:
Total License Issues: 0 |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer: