-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feature/add provider interface for block mode #6608
Feature/add provider interface for block mode #6608
Conversation
9fa8dc6
to
4e3f1ed
Compare
Thank you @shawn-hurley! @draghuram @dzaninovic FYI :) |
I will refactor my code to adjust for these changes. |
4e3f1ed
to
405b70a
Compare
Codecov Report
@@ Coverage Diff @@
## main #6608 +/- ##
==========================================
- Coverage 60.31% 60.16% -0.16%
==========================================
Files 242 242
Lines 25924 25735 -189
==========================================
- Hits 15637 15484 -153
+ Misses 9186 9167 -19
+ Partials 1101 1084 -17
|
405b70a
to
621f2e7
Compare
621f2e7
to
fa45ff9
Compare
Note for other maintainers/reviewers: This PR just implements the API change, adding |
We also need to add volMode to RunRestore(): |
Per my understanding, the changes in this PR won't take effect under the current code context. As you can see from the controller and the exposer , the snapshot volume mode has been hard-coded to If so, what is the purpose to have this separate PR, why don't we submit the entire functioning code in one PR later when they are ready? |
@Lyndon-Li "If so, what is the purpose to have this separate PR, why don't we submit the entire functioning code in one PR later when they are ready?" One reason is that this introduces an API change to |
The biggest reason is that we want the API changes for the 1.12.0 release. This will make sure that we don't add a breaking API change for folks who are attempting to use the VGDP (I think that is the right acronym that I have been reading?) Please let me know if this makes sense. Also note, I will add code around when ByPath or ByBlock should be set. |
d58a9fb
to
e72216b
Compare
Thanks for the progress! |
@shawn-hurley Please help to fix the CI errors. Thanks! |
e72216b
to
284f7c8
Compare
284f7c8
to
7695423
Compare
@Lyndon-Li @sseago @shubham-pampattiwar @mateusoliveira43 To get in, just pinging folks for awareness that I have updated and it should be ready to go! |
7695423
to
f4ccf40
Compare
420a44e
to
af4f05a
Compare
@shawn-hurley please squash all the commits and/or remove the design commit. |
af4f05a
to
4805140
Compare
Signed-off-by: Shawn Hurley <shawn@hurley.page>
4805140
to
563a16c
Compare
Thank you for contributing to Velero!
Please add a summary of your change
Adding the block mode to the interfaces, to be included in 1.12.
This will allow us to solve the issue of block support in a Z-stream without breaking the API's in a Z-stream.
Does your change fix a particular issue?
Fixes #(issue)
Please indicate you've done the following:
/kind changelog-not-required
as a comment on this pull request.site/content/docs/main
.