lokeshj1703 commented on code in PR #3814:
URL: https://github.com/apache/ozone/pull/3814#discussion_r990926151
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java:
##########
@@ -541,10 +541,11 @@ private ContainerBackgroundTaskResult
deleteViaTransactionStore(
* Delete the chunks for the given blocks.
* Return the deletedBlocks count and number of bytes released.
*/
- private Pair<Integer, Long> deleteTransactions(
+ private DeleteTransactionStats deleteTransactions(
List<DeletedBlocksTransaction> delBlocks, Handler handler,
Table<String, BlockData> blockDataTable, Container container)
throws IOException {
+ int blocksMissed = 0;
Review Comment:
Rename to `blocksProcessed` and increment it in the loop
`for (Long blkLong : entry.getLocalIDList()) {`
--
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]