Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
105118: storage: Handle EOF correctly in externalStorageReader r=RaduBerinde a=itsbilal Previously, if we hit the end of file in externalSTorageWrapper's ReadAt(), even if we were passed a buffer that ended right at EOF, we'd return the EOF error even though we read the file's footer successfully. This deviated from behaviour of other objstorage.Readable implementations and from the behaviour expected by Pebble, and resulted in `unable to read footer (invalid table): EOF` errors in testing. Epic: none Release note: None Co-authored-by: Bilal Akhtar <[email protected]>
- Loading branch information