Tsz-wo Sze created HDDS-8741:
--------------------------------

             Summary: Use adjustable capacity CodecBuffer to get from DB
                 Key: HDDS-8741
                 URL: https://issues.apache.org/jira/browse/HDDS-8741
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: db
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


When getting a value from DB, the value size is unknown when allocating a 
buffer.  Currently, we set the exact capacity in buffer allocation and, if the 
capacity is too small, reallocate a new buffer.  We should use an adjustable 
buffer and try to adjust the capacity if it is too small.



--
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