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

feat(v2): DR volume #183

Merged
merged 4 commits into from
Aug 27, 2024
Merged

feat(v2): DR volume #183

merged 4 commits into from
Aug 27, 2024

Conversation

c3y1huang
Copy link
Contributor

Which issue(s) this PR fixes:

Issue longhorn/longhorn#6613

What this PR does / why we need it:

Support v2 volume for incremental restore.

Special notes for your reviewer:

None

Additional documentation or context

None

@c3y1huang c3y1huang self-assigned this Jul 31, 2024
@derekbit
Copy link
Member

I forgot if I've implemented the details that are required for v2 DR volume in the go-spdk-helper side. Don't we need to update go-spdk-helper?

@c3y1huang c3y1huang changed the title Feat(v2): DR volume feat(v2): DR volume Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 7.86%. Comparing base (7afd6aa) to head (64447d6).
Report is 4 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #183   +/-   ##
======================================
  Coverage    7.86%   7.86%           
======================================
  Files          23      23           
  Lines        2010    2010           
======================================
  Hits          158     158           
  Misses       1826    1826           
  Partials       26      26           
Flag Coverage Δ
unittests 7.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DamiaSan
Copy link

It seems good to me but i don't have so much experience on Longhorn backup and restore to understand all the things involved, better to wait for Shuo and Derek to approve.

@c3y1huang c3y1huang marked this pull request as draft August 22, 2024 03:35
@c3y1huang c3y1huang force-pushed the feat-v2-dr-volume branch 3 times, most recently from d52fd85 to ab61bf1 Compare August 23, 2024 05:23
@c3y1huang c3y1huang marked this pull request as ready for review August 23, 2024 06:44
shuo-wu
shuo-wu previously approved these changes Aug 23, 2024
A file can be either a regular file for a v1 volume or a device file for a v2 volume.

longhorn/longhorn-6613

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
longhorn/longhorn-6613

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
deltablock.go Outdated Show resolved Hide resolved
deltablock.go Outdated Show resolved Hide resolved
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Copy link
Member

@derekbit derekbit left a comment

Choose a reason for hiding this comment

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

LGTM

@derekbit derekbit merged commit fe89e48 into longhorn:master Aug 27, 2024
7 checks passed
@c3y1huang c3y1huang deleted the feat-v2-dr-volume branch August 27, 2024 05:42
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.

4 participants