You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/16 06:51:37 UTC
[GitHub] [ozone] guihecheng commented on a change in pull request #3094: HDDS-6319. EC: Fix read big file failure with EC policy 10+4.
guihecheng commented on a change in pull request #3094:
URL: https://github.com/apache/ozone/pull/3094#discussion_r807601538
##########
File path: hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyInputStream.java
##########
@@ -264,7 +264,7 @@ protected synchronized int readWithStrategy(ByteReaderStrategy strategy)
// Get the current blockStream and read data from it
BlockExtendedInputStream current = blockStreams.get(blockIndex);
- int numBytesToRead = Math.min(buffLen, (int)current.getRemaining());
+ int numBytesToRead = (int)Math.min(buffLen, current.getRemaining());
Review comment:
Thanks for your reminding, rebased and waiting for CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org