Skip to content

Fix wrong error handling in volume.tier.upload when stream == nil but copyErr != nil #6867

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

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

NyaMisty
Copy link
Contributor

What problem are we solving?

Fix an error causing weed shell panics originating from a wrong error handling.

How are we solving the problem?

Correctly implement the error handling logic

How is the PR tested?

Tested by hand. Because this error only occurs in deep code branch, unittest is hard to implement.

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf chrislusf merged commit 53e5c84 into seaweedfs:master Jun 16, 2025
7 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