ArafatKhan2198 commented on code in PR #4182:
URL: https://github.com/apache/ozone/pull/4182#discussion_r1137120678
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/ContainerEndpoint.java:
##########
@@ -162,6 +176,7 @@ public Response getKeysForContainer(
Map<String, KeyMetadata> keyMetadataMap = new LinkedHashMap<>();
long totalCount;
try {
+ prevKeyPrefix = buildObjectPathForFileSystemBucket(prevKeyPrefix);
Review Comment:
Thank you for your message, Sumit. However, in the code, we will iterate
through the `KeyTable` and `FileTable` for each `containerKeyPrefix` present in
the container. Each container contains a mixture of keys from both the KeyTable
and the FileTable. Therefore, the `correctPathForLayout` method will only be
called once at the beginning, and setting the layout to either `FSO` or
`LEGACY` at the start will not display keys from the other table.
--
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]