Skip to content
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

Update backup handle usage mechanism #186

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

sushanthakumar
Copy link
Collaborator

What type of PR is this?
kind enhancement

What this PR does / why we need it:
In current mechanism, kahu volume service uses snapshot handle in volume content status as the handle to keep the mapping between snapshots and corresponding backups. But this snapshot handle creating mechanism can different across different drivers.
So tracing back during restore can not be a common mechanism across different csi drivers

So in new mechanism, kahu volume service will use snapshot content name itself as the handle to map between backups and snapshots

Which issue(s) this PR fixes:

Fixes ##185

Test Report Added?:
kind TESTED

Test Report:
Verify that snapshot name is used as handle in volumebackupcontent (VBC)
backuphandle-change

Special notes for your reviewer:

Signed-off-by: sushanthakumar <sushanth.github@gmail.com>
Copy link
Collaborator

@AmitRoushan AmitRoushan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@skdwriting skdwriting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@skdwriting skdwriting merged commit 972ef12 into soda-cdm:main Jan 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants