You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The combination of async writes and random storage errors can result in data loss. One idea to mitigate this without too much of a performance hit would be to stat the file after closing the file descriptor in the implementations of put and patch, and then to compare the bytes to the amount of bytes received (written according to the application), and then if the byte counts do not match, to return 500. Clients would then need to retry the request until successful.
The text was updated successfully, but these errors were encountered:
The combination of async writes and random storage errors can result in data loss. One idea to mitigate this without too much of a performance hit would be to
stat
the file after closing the file descriptor in the implementations ofput
andpatch
, and then to compare the bytes to the amount of bytes received (written according to the application), and then if the byte counts do not match, to return 500. Clients would then need to retry the request until successful.The text was updated successfully, but these errors were encountered: