Skip to content

fix(recovery): do not tear down host initiator/dm resources on recovery failure#544

Closed
derekbit wants to merge 1 commit into
longhorn:masterfrom
derekbit:issue-13194
Closed

fix(recovery): do not tear down host initiator/dm resources on recovery failure#544
derekbit wants to merge 1 commit into
longhorn:masterfrom
derekbit:issue-13194

Conversation

@derekbit
Copy link
Copy Markdown
Member

Which issue(s) this PR fixes:

Issue longhorn/longhorn#13185

What this PR does / why we need it:

Previously, recoverEngineFrontends called ef.Delete() when recovery failed or the frontend was superseded by a concurrent Create. Delete() invokes initiator.Stop() which disconnects NVMe controllers and removes device-mapper devices — potentially destroying resources that still serve active I/O for the new frontend (same subsystem NQN).

Special notes for your reviewer:

Additional documentation or context

…ry failure

Previously, recoverEngineFrontends called ef.Delete() when recovery
failed or the frontend was superseded by a concurrent Create. Delete()
invokes initiator.Stop() which disconnects NVMe controllers and removes
device-mapper devices — potentially destroying resources that still
serve active I/O for the new frontend (same subsystem NQN).

Longhorn 13185

Signed-off-by: Derek Su <derek.su@suse.com>
@mantissahz mantissahz requested a review from a team May 26, 2026 07:51
@derekbit
Copy link
Copy Markdown
Member Author

@mergify backport v1.12.x

@mergify
Copy link
Copy Markdown

mergify Bot commented May 26, 2026

backport v1.12.x

🟠 Waiting for conditions to match

Details
  • merged [📌 backport requirement]

@derekbit derekbit closed this May 26, 2026
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.

1 participant