You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/04/27 07:00:00 UTC
[jira] [Updated] (RATIS-1837) FileChunkReader.readFileChunk will drain out the inputStream
[ https://issues.apache.org/jira/browse/RATIS-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai updated RATIS-1837:
------------------------------------
Target Version/s: 2.5.1
> 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)