devmadhuu commented on code in PR #4516:
URL: https://github.com/apache/ozone/pull/4516#discussion_r1190871370
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/ContainerEndpoint.java:
##########
@@ -481,4 +481,47 @@ private List<ContainerBlockMetadata> getBlocks(
return blockIds;
}
+ /** This method retrieves set of keys/files/dirs which are mapped to
+ * containers in DELETED state in SCM. */
+ @GET
+ @Path("/mismatch/keys")
+ public Response getDeletedContainerKeysInfo(
Review Comment:
> Unable to get use case where getting keys only for deleted container from
SCM. I think we should return all keys which is not present in SCM (including
deleted key) which may have data loss. Additionally need see if gap between SCM
and DN if DN do not have data.
As discussed, Please conclude on the use case.
--
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]