sumitagrawl commented on code in PR #4182:
URL: https://github.com/apache/ozone/pull/4182#discussion_r1141793246


##########
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 = correctPathForLayout(prevKeyPrefix);

Review Comment:
   IMO, we do not need correctPathForLayout, as this input is part of 
pagination.
   ie. - with pagesize 10,
   - get list with pageSize 10, and key as empty. -- list first 10 element
   - get list with pagesize 10, and key as last element -- list next 10 element
   



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