Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@klauspost
Copy link
Contributor

Writers will recycle the buffer when encountering an error. Doing another Write will use the recycled buffer.

While it isn't "nice" if a caller does writes after an error it still relies on this specific behaviour being respected.

Check the stateful error when writes arrive.

Writers will recycle the buffer when encountering an error. Doing another Write will use the recycled buffer.

While it isn't "nice" if a caller does writes after an error it still relies on this specific behaviour being respected.

Check the stateful error when writes arrive.
@klauspost klauspost requested a review from aead November 24, 2025 14:16
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@aead aead merged commit 860bdba into minio:master Nov 24, 2025
6 checks passed
@klauspost klauspost deleted the sio-safe-write-after-err branch November 24, 2025 15:08
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.

3 participants