adoroszlai opened a new pull request #88: HDDS-2272. Avoid buffer copying in GrpcReplicationClient URL: https://github.com/apache/hadoop-ozone/pull/88 ## What changes were proposed in this pull request? Eliminate `BufferedOutputStream`, write `ByteString` directly to `FileStream` to avoid a buffer copy. Also, use `ByteString.writeTo(OutputStream)`, although it still seems to copy the byte array internally. https://issues.apache.org/jira/browse/HDDS-2272 ## How was this patch tested? Tested closed container replication manually with a 300MB container. Verified that container is correctly replicated to other datanode.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org