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 2020/08/04 15:00:02 UTC

[GitHub] [hadoop-ozone] errose28 opened a new pull request #1288: HDDS-4061. Pending delete blocks are not always included in #BLOCKCOUNT metadata

errose28 opened a new pull request #1288:
URL: https://github.com/apache/hadoop-ozone/pull/1288


   ## What changes were proposed in this pull request?
   
   - Make `KeyValueContainerUtil#initializeUsedBytesAndBlockCount` include pending delete blocks (with `#deleting#` prefix) when setting the `#BLOCKCOUNT` and `#BYTESUSED` metadata values.
       - This behavior makes it consistent with the current `BlockDeletingService` implementation.
   
   - Adjust the TestContainerReader unit tests to account for this change.
   
   ## What is the link to the Apache JIRA
   
   HDDS-4061
   
   ## How was this patch tested?
   
   `TestContainerReader#testContainerReader` unit tests were modified to include pending delete blocks in the `#BLOCKCOUNT` and `#BYTESUSED` metadata values. These tests were run and passed.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [hadoop-ozone] hanishakoneru merged pull request #1288: HDDS-4061. Pending delete blocks are not always included in #BLOCKCOUNT metadata

Posted by GitBox <gi...@apache.org>.
hanishakoneru merged pull request #1288:
URL: https://github.com/apache/hadoop-ozone/pull/1288


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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