umamaheswararao opened a new pull request #3043:
URL: https://github.com/apache/ozone/pull/3043


   ## What changes were proposed in this pull request?
   
   As part of buffers pool 
reusing([HDDS-5949](https://issues.apache.org/jira/browse/HDDS-5949)) we 
started creating parity buffers in full size and setting the right limits when 
we need less than chunk. In writes, we were using ByteBuffer.array and 
ByteBuffer.array.length. When we convert ByteBuffer into array, it will not 
respect the limits anymore. So, instead of array.length, using the 
ByteBuffer.limit to indicate the len.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6256
   
   ## How was this patch tested?
   
   Reproduced this issue with a test and passed the same after fix.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to