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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to