ArafatKhan2198 commented on code in PR #5037:
URL: https://github.com/apache/ozone/pull/5037#discussion_r1471462671


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/ReconNamespaceSummaryManagerImpl.java:
##########
@@ -84,4 +85,9 @@ public void commitBatchOperation(RDBBatchOperation 
rdbBatchOperation)
   public Table getNSSummaryTable() {
     return nsSummaryTable;
   }
+
+  @VisibleForTesting
+  public void setNsSummaryTable(Table<Long, NSSummary> nsSummaryTable) {

Review Comment:
   Done!



##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/OMDBInsightEndpoint.java:
##########
@@ -651,6 +652,36 @@ public Response getDeletedDirInfo(
     return Response.ok(deletedDirInsightInfo).build();
   }
 
+  /**
+   * Retrieves the summary of deleted directories.
+   *
+   * This method calculates and returns a summary of deleted directories.
+   * @return The HTTP  response body includes a map with the following entries:
+   * - "totalDeletedDirectories": the total number of deleted directories
+   *
+   * Example response:
+   *   {
+   *    "totalDeletedDirectories": 8,
+   *   }
+   */
+  @GET
+  @Path("/deletePending/dirs/summary")
+  public Response getDeletedDirectorySummary() throws IOException {

Review Comment:
   Done !



-- 
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]

Reply via email to