szetszwo commented on code in PR #4926:
URL: https://github.com/apache/ozone/pull/4926#discussion_r1233605888
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/DeletedContainerBlocksSummary.java:
##########
@@ -34,6 +34,8 @@ public final class DeletedContainerBlocksSummary {
// key : txID
// value : times of this tx has been processed
private final Map<Long, Integer> txSummary;
+ private final Map<Long, Integer> retryTxSummary;
Review Comment:
Since only the size is needed, let have an `int retryTxCount` instead of a
`Map`.
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/BlockDeletingServiceMetrics.java:
##########
@@ -86,6 +108,34 @@ public void incrFailureCount() {
this.failureCount.incr();
}
+ public void incrReceiveTransactionCount(long count) {
+ receivedTransactionCount.incr(count);
+ }
+
+ public void incrReceiveRetryTransactionCount(long count) {
Review Comment:
Typo: it should be "incr`Received`RetryTransactionCount".
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/BlockDeletingServiceMetrics.java:
##########
@@ -86,6 +108,34 @@ public void incrFailureCount() {
this.failureCount.incr();
}
+ public void incrReceiveTransactionCount(long count) {
Review Comment:
Typo: it should be "incr`Received`TransactionCount".
--
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]