You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/06/06 07:47:00 UTC

[jira] [Created] (HDDS-8766) Use empty BufferPool for EC reconstruction

Attila Doroszlai created HDDS-8766:
--------------------------------------

             Summary: Use empty BufferPool for EC reconstruction
                 Key: HDDS-8766
                 URL: https://issues.apache.org/jira/browse/HDDS-8766
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: ECOfflineRecovery
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Address TODO:

{code:title=https://github.com/apache/ozone/blob/c935f173390f52cb749d8fb421cf849de578b651/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ec/reconstruction/ECReconstructionCoordinator.java#L270-L276}
      // TODO: Let's avoid unnecessary bufferPool creation. This pool actually
      //  not used in EC flows, but there are some dependencies on buffer pool.
      BufferPool bufferPool =
          new BufferPool(configuration.getStreamBufferSize(),
              (int) (configuration.getStreamBufferMaxSize() / configuration
                  .getStreamBufferSize()),
              ByteStringConversion.createByteBufferConversion(false));
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org