errose28 commented on code in PR #6875:
URL: https://github.com/apache/ozone/pull/6875#discussion_r1697257150
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/common/TestBlockDeletingService.java:
##########
@@ -1088,6 +1102,46 @@ public void testBlockThrottle(ContainerTestVersionInfo
versionInfo)
}
}
+ /**
+ * The container checksum file is updated with blocks that have been deleted
after the file is removed from disk,
+ * but before the transaction is removed from the DB. If there is a failure
partway through, the checksum file
+ * should still get updated when the transaction is retried, even if the
block file is not present.
+ */
Review Comment:
Good clarifications. Update will be included in the next push.
--
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]