swamirishi commented on code in PR #3683:
URL: https://github.com/apache/ozone/pull/3683#discussion_r978990798
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogImpl.java:
##########
@@ -425,7 +425,11 @@ public DatanodeDeletedBlockTransactions getTransactions(
DeletedBlocksTransaction txn = keyValue.getValue();
final ContainerID id = ContainerID.valueOf(txn.getContainerID());
try {
- if (txn.getCount() > -1 && txn.getCount() <= maxRetry
+ if (containerManager.getContainer(id).isDeleted()) {
+ LOG.warn("Container: " + id + " was not deleted for the " +
Review Comment:
There seems to be a typo in the log. I believe it should be was deleted
instead.
--
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]