-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Skip broken shares when transferring ownership #26527
Conversation
@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @nickvergessen and @LukasReschke to be potential reviewers. |
Integration tests will be added as part of #26543 |
@DeepDiver1975 @jvillafanez please review |
👍 |
if ($shareMountPoint) { | ||
$this->mountManager->removeMount($shareMountPoint->getMountPoint()); | ||
} | ||
$this->shareManager->deleteShare($share); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deleteShare throws ShareNotFound according to PHPDoc .... but I don't see this being throws in the implementation :puke:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:sad:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Related Issue
Fixes #26524
Fixes #26525
Motivation and Context
Because aborting isn't useful as it would prevent legitimate subsequent shares to be migrated.
How Has This Been Tested?
See steps from the tickets
Screenshots (if appropriate):
Types of changes
Checklist:
Backports
@DeepDiver1975