Song Ziyang created RATIS-1837:
----------------------------------
Summary: 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
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)