[BUG] system restore stuck because of the volume/PV/PVC restoration #8601
Labels
kind/bug
priority/0
Must be fixed in this release (managed by PO)
require/auto-e2e-test
Require adding/updating auto e2e test cases if they can be automated
require/backport
Require backport. Only used when the specific versions to backport have not been definied.
require/qa-review-coverage
Require QA to review coverage
Milestone
Describe the bug
in our code https://github.com/longhorn/longhorn-manager/blob/ebace7b56389b017c97876f15b5298d07095b745/controller/system_rollout_controller.go#L1264-L1290
PV restoration will tried to find the Volume first
PVC restoration will tried to find the PV first
But I have moved the Volume restoration out of the parallel restoration
So all 3 resources won't be able to restored and because of the deadlock
To Reproduce
Create a Volume/PV/PVC and do the system backup and restore
Expected behavior
All 3 resources should be restored successfully
The text was updated successfully, but these errors were encountered: