smitajoshi12 commented on code in PR #4519:
URL: https://github.com/apache/ozone/pull/4519#discussion_r1172332702
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/ClusterStateEndpoint.java:
##########
@@ -146,14 +146,14 @@ public Response getClusterState() {
totalKeys += fileRecord.getValue();
}
if (deletedKeyRecord != null) {
- deletedKeys += deletedKeyRecord.getValue();
+ keysAwaitingDeletion += deletedKeyRecord.getValue();
}
if (deletedDirRecord != null) {
deletedDirs += deletedDirRecord.getValue();
}
builder.setKeys(totalKeys);
- builder.setDeletedKeys(deletedKeys);
+ builder.setkeysAwaitingDeletion(keysAwaitingDeletion);
Review Comment:
@smengcl Completed Changes suggested in Review
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/types/ClusterStateResponse.java:
##########
@@ -198,8 +198,8 @@ public Builder setBuckets(long buckets) {
return this;
}
- public void setDeletedKeys(long deletedKeys) {
- this.deletedKeys = deletedKeys;
+ public void setkeysAwaitingDeletion(long keysAwaitingDeletion) {
Review Comment:
@smengcl Completed Changes suggested in Review
--
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]