[ https://issues.apache.org/jira/browse/HDDS-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703676#comment-16703676 ]
Jitendra Nath Pandey commented on HDDS-870: ------------------------------------------- It seems error prone to create a bufferList in {{ChunkGroupOutputStream}} and share it in various {{ChunkOutputStreams}} within. The two streams may start working on same buffer? >From the patch, it seems it would be easy to move bufferList creation to >{{ChunkOutputStreams}}, and each gets its own bufferList. Is there a downside >of this? > Avoid creating block sized buffer in ChunkGroupOutputStream > ----------------------------------------------------------- > > Key: HDDS-870 > URL: https://issues.apache.org/jira/browse/HDDS-870 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Components: Ozone Client > Affects Versions: 0.4.0 > Reporter: Shashikant Banerjee > Assignee: Shashikant Banerjee > Priority: Major > Fix For: 0.4.0 > > Attachments: HDDS-870.000.patch, HDDS-870.001.patch, > HDDS-870.002.patch > > > Currently, for a key, we create a block size byteBuffer in order for caching > data. This can be replaced with an array of buffers of size flush buffer size > configured for handling 2 node failures as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org