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

NAS-130440 / 24.10 / fix pool.replace regression (introduced in 026691d39e4711107f40c7d0e8b48bbfc4788e9e) #14151

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Aug 6, 2024

In 026691d, a commit was made to also wipe the disk that was being replaced when pool.replace was being called. I looked at that ticket but it's still not clear to me why this logic was added. In every possible scenario, it's entirely unnecessary to wipe the disk that is being replaced. Remove that logic and update pool_replace_disk api test accordingly. (also improve the test by documenting it as well).

@yocalebo yocalebo requested a review from a team August 6, 2024 18:03
@bugclerk
Copy link
Contributor

bugclerk commented Aug 6, 2024

@bugclerk bugclerk changed the title fix pool.replace regression (introduced in 026691d39e4711107f40c7d0e8b48bbfc4788e9e) NAS-130440 / 24.10 / fix pool.replace regression (introduced in 026691d39e4711107f40c7d0e8b48bbfc4788e9e) Aug 6, 2024
@yocalebo
Copy link
Contributor Author

yocalebo commented Aug 6, 2024

@yocalebo yocalebo requested review from aiden3c and creatorcary August 6, 2024 18:05
@yocalebo yocalebo merged commit 69da705 into master Aug 6, 2024
2 of 3 checks passed
@yocalebo yocalebo deleted the NAS-130440 branch August 6, 2024 18:14
@bugclerk
Copy link
Contributor

bugclerk commented Aug 6, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Aug 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants