aswinshakil commented on code in PR #3484:
URL: https://github.com/apache/ozone/pull/3484#discussion_r896008768
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java:
##########
@@ -489,10 +490,11 @@ public ContainerBackgroundTaskResult
deleteViaTransactionStore(
deletedBlocksCount, releasedBytes);
// update count of pending deletion blocks, block count and used
- // bytes in in-memory container status.
+ // bytes in in-memory container status and used space in volume.
containerData.decrPendingDeletionBlocks(deletedBlocksCount);
containerData.decrBlockCount(deletedBlocksCount);
Review Comment:
I thought it would be better to decrement Container Data and Volume Usage
separately. As the former is just intended to decrement the container data used
bytes.
--
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]