OADP-7061: [oadp-1.5] DM controller refactor for cancel (cherry-pick #8952) - #565
OADP-7061: [oadp-1.5] DM controller refactor for cancel (cherry-pick #8952)#565kaovilai wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
@kaovilai: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@kaovilai: This pull request references OADP-7953 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kaovilai: This pull request references OADP-7061 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai, sseago The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
/hold in case a customer hits the issue |
Cherry-pick of velero-io#8952 to
oadp-1.5, via cherry-pick of the resolved backport velero-io#10423.Fixes velero-io#8534: node-agent pod restart no longer cancels all in-flight DataUploads/DataDownloads across all nodes — the DM controllers are refactored to tolerate cancel requests in more cases (node restart, node drain).
Fixes OADP-7061
Merge conflicts in
pkg/controller/data_download_controller.go,data_download_controller_test.go, anddata_upload_controller.goresolved by adopting upstream's if/else form (the OADP branch had cosmetically refactored those into switch/case; functionally identical) to minimize future rebase drift. Verified:go build ./pkg/...clean,go test ./pkg/controller/... -run 'DataUpload|DataDownload'passes.Note
Responses generated with Claude