jojochuang commented on a change in pull request #3881:
URL: https://github.com/apache/hadoop/pull/3881#discussion_r791286115
##########
File path:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/StripeReader.java
##########
@@ -432,7 +432,9 @@ void decodeAndFillBuffer(boolean fillBuffer) throws
IOException {
long start = Time.monotonicNow();
// Step 2: decode into prepared output buffers
- decoder.decode(decodeInputs, decodeIndices, outputs);
+ synchronized (decoder) {
Review comment:
IMO, we should make RawErasureDecoder.decode() synchronized instead.
--
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]