[ https://issues.apache.org/jira/browse/ARTEMIS-2336?focusedWorklogId=240864&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-240864 ]
ASF GitHub Bot logged work on ARTEMIS-2336: ------------------------------------------- Author: ASF GitHub Bot Created on: 13/May/19 04:51 Start Date: 13/May/19 04:51 Worklog Time Spent: 10m Work Description: franz1981 commented on pull request #2666: ARTEMIS-2336 Use zero copy to replicate journal/page/large message file URL: https://github.com/apache/activemq-artemis/pull/2666#discussion_r283186766 ########## File path: artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationSyncFileMessage.java ########## @@ -197,6 +232,15 @@ public void decodeRest(final ActiveMQBuffer buffer) { } } + private void readFile(ByteBuffer buffer) { Review comment: You can create directly the FileChannel without using FileInputStream ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 240864) Time Spent: 20m (was: 10m) > Use zero copy to replicate journal/page/large message file > ---------------------------------------------------------- > > Key: ARTEMIS-2336 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2336 > Project: ActiveMQ Artemis > Issue Type: Improvement > Components: Broker > Reporter: yangwei > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Use sendfile to replicate files during backup sever bootstrap. -- This message was sent by Atlassian JIRA (v7.6.3#76005)