fix: cache and return actual number of bytes read by file reader
Type of change
-
Bug Fix -
Feature
Does this introduce a change in the core logic?
- [Yes]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
GCP -
IBM
Updates description?
fileio::ReadCache::read always reported the number of bytes read as the exact number of bytes requested by caller, which is not always the case. Now its return value corresponds to the real number of bytes received from file reader.
Edited by Iurii Zhesson