You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/04 19:48:02 UTC
[GitHub] [ozone] umamaheswararao opened a new pull request #3043: HDDS-6256: EC: Parity blocks are padded incorrectly with zeros to the chunk size
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] sodonnel merged pull request #3043: HDDS-6256: EC: Parity blocks are padded incorrectly with zeros to the chunk size
Posted by GitBox <gi...@apache.org>.
sodonnel merged pull request #3043:
URL: https://github.com/apache/ozone/pull/3043
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org