RUBY-3658 Ensure partial writes are retried by jamis · Pull Request #2927 · mongodb/mongo-ruby-driver

@jamis

@jamis

@jamis

focus on modern servers, recent rubies

@jamis

@jamis jamis changed the title HELP-74319 Ensure partial writes are retried RUBY-3658 Ensure partial writes are retried

Apr 25, 2025
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

alexbevi

@jamis jamis deleted the help-74319 branch

April 25, 2025 20:18

@jamis jamis mentioned this pull request

Apr 28, 2025