Allow read_chunk() to return partial chunks #18
Loading…
Reference in a new issue
No description provided.
Delete branch "ku/read-all-valid-chunks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is simply a change of read_chunk() protocol, where a response of
read_chunk() becomes list of written bytes along with checksum. All
related code including repair is changed as such. This is to pass all
tests and not actually supporting partial chunks.
This is a part of yak shaving for adding trim command regarding a comment in #14.
The PB API changes look good, with the understanding that the trimmed/unwritten distinction will be added in another PR. The eunit tests pass, yay.