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:
[email protected]



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

Reply via email to