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
backup: use ioctx.ReadAll when reading index metadata
We currently use `io.Reader`'s `Read` to read the index metadata file.
However, `Read` behavior w.r.t to returning an EOF after reading the
entire file is not consistent --- S3's implementation returns EOF even
if bytes are read, whereas GCS's implementation returns EOF only if a
read is attempted after reading the file. The correct solution is to use
`ioctx.ReadAll` whenever performing reads.
Fixes: #153215, #153214, #153213, #153212
Release note: None
0 commit comments