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

Fixed a bug which causes restoration to fail when first delta snapshot completely overlaps latest full snapshot. #845

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ishan16696
Copy link
Member

How to categorize this PR?

/area disaster-recovery
/kind bug

What this PR does / why we need it:
This PR fixes a bug which causes restoration to fail when first delta snapshot completely overlaps latest full snapshot.

Which issue(s) this PR fixes:
Fixes #844

Special notes for your reviewer:

Release note:

Fixed a bug that caused restoration to fail when the first delta snapshot completely overlapped with the latest full snapshot.

@ishan16696 ishan16696 requested a review from a team as a code owner February 18, 2025 08:21
@gardener-robot gardener-robot added needs/review Needs review area/disaster-recovery Disaster recovery related kind/bug Bug size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Feb 18, 2025
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 18, 2025
@gardener-robot-ci-1 gardener-robot-ci-1 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Feb 18, 2025
@ishan16696 ishan16696 self-assigned this Feb 18, 2025
@ishan16696
Copy link
Member Author

I'm yet to add the unit tests for this scenario.
/do-not-merge

@gardener-robot gardener-robot added the reviewed/do-not-merge Has no approval for merging as it may break things, be of poor quality or have (ext.) dependencies label Feb 18, 2025
@ishan16696 ishan16696 added this to the v0.35.0 milestone Feb 19, 2025
@ishan16696 ishan16696 removed the reviewed/do-not-merge Has no approval for merging as it may break things, be of poor quality or have (ext.) dependencies label Feb 26, 2025
@ishan16696
Copy link
Member Author

I will not be able to add unit tests for this, I can add unit tests for this later. Let's not block the fix.

Copy link
Collaborator

@shreyas-s-rao shreyas-s-rao left a comment

Choose a reason for hiding this comment

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

@ishan16696 thanks for the fix! I've tested this and it fixes the issue of overlapping revisions as mentioned.

/lgtm

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Feb 27, 2025
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/disaster-recovery Disaster recovery related kind/bug Bug needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handling of overlapping of first delta snapshot with full snapshot isn't done correctly.
6 participants