xiaoyuyao commented on a change in pull request #1604:
URL: https://github.com/apache/ozone/pull/1604#discussion_r528002470
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogImpl.java
##########
@@ -129,9 +129,12 @@ public void incrementCount(List<Long> txIDs) throws
IOException {
DeletedBlocksTransaction block =
scmMetadataStore.getDeletedBlocksTXTable().get(txID);
if (block == null) {
- // Should we make this an error ? How can we not find the deleted
- // TXID?
- LOG.warn("Deleted TXID {} not found.", txID);
Review comment:
Let's keep this rare error case as WARN. Other changes LGTM.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]