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/19 17:52:20 UTC

[GitHub] [ozone] sodonnel commented on a change in pull request #3111: HDDS-6341: EC: Fix the race condition in TestECBlockReconstructedStripeInputStream.

sodonnel commented on a change in pull request #3111:
URL: https://github.com/apache/ozone/pull/3111#discussion_r810519421



##########
File path: hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/TestECBlockInputStream.java
##########
@@ -416,6 +416,7 @@ private void validateBufferContents(ByteBuffer buf, int from, int to,
       return blockStreams;
     }
 
+    // Not a thread safe create.

Review comment:
       Should we just make this factory's methods synchronized too? I don't think it can do any harm, and it may avoid some hard to track down bug in the future.




-- 
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