RUBY-3658 Ensure partial writes are retried by jamis · Pull Request #2927 · mongodb/mongo-ruby-driver
jamis
changed the title
HELP-74319 Ensure partial writes are retried
RUBY-3658 Ensure partial writes are retried
write() is blocking, but apparently may still not write the entire requested block (for various reasons). It is safest to NOT assume it wrote everything, and instead check the return value for the number of bytes actually written.
jamis
deleted the
help-74319
branch
jamis
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters