umamaheswararao commented on a change in pull request #2872:
URL: https://github.com/apache/ozone/pull/2872#discussion_r759458491
##########
File path:
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockReconstructedStripeInputStream.java
##########
@@ -246,12 +246,19 @@ public synchronized int readStripe(ByteBuffer[] bufs)
throws IOException {
}
}
}
- padBuffers(toRead);
- flipInputs();
- decodeStripe();
- // Reset the buffer positions after padding to the read limits so the
client
- // reads the correct amount of data.
- setBufferReadLimits(bufs, toRead);
+ if (missingIndexes.length > 0) {
Review comment:
Thanks for the details @sodonnel
I understand, you are adding this in consideration of futuristic
perspective. I am ok with that.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]