smengcl commented on code in PR #8587:
URL: https://github.com/apache/ozone/pull/8587#discussion_r2377970223
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/DeletingServiceMetrics.java:
##########
@@ -287,6 +293,18 @@ public long getSnapKeysNotReclaimableLast() {
return snapKeysNotReclaimableLast.value();
}
+ public synchronized TransactionInfo getLastAOSTransactionId() {
Review Comment:
```suggestion
public synchronized TransactionInfo getLastAOSTransactionInfo() {
```
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/DeletingServiceMetrics.java:
##########
@@ -287,6 +293,18 @@ public long getSnapKeysNotReclaimableLast() {
return snapKeysNotReclaimableLast.value();
}
+ public synchronized TransactionInfo getLastAOSTransactionId() {
+ return TransactionInfo.valueOf(lastAOSPurgeTermId.value(),
lastAOSPurgeTransactionId.value());
+ }
+
+ public synchronized void setLastAOSTransactionId(TransactionInfo
transactionInfo) {
Review Comment:
```suggestion
public synchronized void setLastAOSTransactionInfo(TransactionInfo
transactionInfo) {
```
--
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]