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

Fix strict-local volume restore stuck in attaching state #2065

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

derekbit
Copy link
Member

For a volume being restored, the spec.nodeID is empyty but the status.ownerID is set. Thus, set r.Spec.HardNodeAffinity to volume.status.ownerID instead.

longhorn/longhorn#6239

types/types.go Outdated Show resolved Hide resolved
For a volume being restored, the spec.nodeID is empyty but the status.ownerID is set.
Thus, set r.Spec.HardNodeAffinity to volume.status.ownerID instead.

Longhorn 6239

Signed-off-by: Derek Su <derek.su@suse.com>
@derekbit derekbit force-pushed the v1.4.x-restore-strict-local branch from 8c23346 to cb586ad Compare July 10, 2023 07:38
@derekbit derekbit requested a review from innobead July 10, 2023 07:38
@innobead innobead enabled auto-merge (rebase) July 10, 2023 07:46
@innobead innobead merged commit 3ea2dcd into longhorn:v1.4.x Jul 10, 2023
3 checks passed
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.

2 participants