[
https://issues.apache.org/jira/browse/RATIS-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved RATIS-1837.
-------------------------------------
Resolution: Fixed
> FileChunkReader.readFileChunk will drain out the inputStream
> ------------------------------------------------------------
>
> Key: RATIS-1837
> URL: https://issues.apache.org/jira/browse/RATIS-1837
> Project: Ratis
> Issue Type: Bug
> Components: server, snapshot
> Affects Versions: 2.5.0
> Reporter: Song Ziyang
> Assignee: Song Ziyang
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> FileChunkReader.readChunk is supposed to read up to MaxChunkSize bytes of
> data. However, ByteString.readFrom(in, chunkLength) will drain out the
> inputStream
--
This message was sent by Atlassian Jira
(v8.20.10#820010)