lokeshj1703 commented on code in PR #3615:
URL: https://github.com/apache/ozone/pull/3615#discussion_r936297536
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogStateManagerImpl.java:
##########
@@ -209,6 +209,23 @@ public void increaseRetryCountOfTransactionInDB(
}
}
+ @Override
+ public int resetRetryCountOfTransactionInDB(ArrayList<Long> txIDs)
+ throws IOException {
+ for (long txId: txIDs) {
+ DeletedBlocksTransaction transaction = deletedTable.get(txId);
Review Comment:
Ideally the scenario should not happen, we should keep the transactionBuffer
data in memory as well I think.
But we can still make best effort anyways.
--
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]