[ https://issues.apache.org/jira/browse/RATIS-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated RATIS-589: -------------------------------------- Attachment: r589_20190617.patch > Eliminate buffer copying in SegmentedRaftLogOutputStream > -------------------------------------------------------- > > Key: RATIS-589 > URL: https://issues.apache.org/jira/browse/RATIS-589 > Project: Ratis > Issue Type: Improvement > Components: server > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Priority: Major > Attachments: r589_20190614.patch, r589_20190617.patch > > > In SegmentedRaftLogOutputStream.write(LogEntryProto entry), the entry is > first converted to a byte array and then write to BufferedWriteChannel. In > BufferedWriteChannel, it copies the byte array to a ByteBuffer. The copying > should be eliminated. -- This message was sent by Atlassian JIRA (v7.6.3#76005)