ChenSammi commented on code in PR #5980:
URL: https://github.com/apache/ozone/pull/5980#discussion_r1537072570


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockOutputStream.java:
##########
@@ -89,6 +91,8 @@ public class BlockOutputStream extends OutputStream {
   public static final KeyValue FULL_CHUNK_KV =
       KeyValue.newBuilder().setKey(FULL_CHUNK).build();
 
+  // Flushed chunk less than 100KB will combine PutBlock and WriteChunk in the 
same request.
+  private static final int SMALL_CHUNK_THRESHOLD = 100 * 1024;

Review Comment:
   Can we make this configurable? 



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

Reply via email to