Description
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.
Attachments
Attachments
Issue Links
- depends upon
-
RATIS-587 FinalizeLogSegment should flush the contents of log
- Resolved
- is related to
-
RATIS-1746 Change the shared byte array in SegmentedRaftLogWorker to be configurable.
- Resolved
- relates to
-
HDDS-9818 Ensure valid Raft log write buffer size
- Resolved
- links to