Xushaohong opened a new pull request, #3814:
URL: https://github.com/apache/ozone/pull/3814

   ## What changes were proposed in this pull request?
   
   After the patch of 
[HDDS-7259](https://issues.apache.org/jira/browse/HDDS-7259),  the number of 
empty containers is accumulating and they are not deleted.  The reason is due 
to the incorrect block count. 
   
   The block count is increased each time of puttingBlock, so it should not 
decrease the missing block number.
   
   While the pending deletion block number is increased by counting the blocks 
in the TXN(missing blocks included), so missing block number should be reduced.
   
![企业微信截图_c3ed4b94-30bc-477a-bffa-b6a3210e08a7](https://user-images.githubusercontent.com/10106574/194755867-c8cdf454-2dc9-40b8-a5a8-b95a56d792d2.png)
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7302
   
   ## How was this patch tested?
   
   UT . See supplement of UT
   


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