Details
-
Bug
-
Resolution: Fixed
-
Major
-
Columnar 1.0.0
-
Untriaged
-
0
-
Unknown
-
Analytics Sprint 47
Description
Currently, when reading a range of bytes from a file, we read a chunk of size buffer.remaining(), and our check condition is while (buffer.remaining() > 0). This can lead to looping infinitely if the bytes left in the a file are less than the amount we are reading, we should probably check for hitting an EOF and properly fail as this would be an unexpected case.
Attachments
Issue Links
- links to
For Gerrit Dashboard: MB-62987 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213652,1 | MB-62987: Handle unexpected EOF when reading from cloud storage | goldfish | cbas-core | Status: ABANDONED | 0 | 0 |