ChenSammi commented on code in PR #9272:
URL: https://github.com/apache/ozone/pull/9272#discussion_r2522501009


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogStateManagerImpl.java:
##########
@@ -231,6 +231,10 @@ public ArrayList<DeletedBlocksTransaction> 
getTransactionsFromDB(ArrayList<Long>
           LOG.debug("txId {} is not found in deletedTable.", txId);
           continue;
         }
+        if (deletingTxIDs.contains(txId)) {

Review Comment:
   Please move the deletingTxIDs before getting the record from DB. 



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