You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Xushaohong (via GitHub)" <gi...@apache.org> on 2023/05/05 07:21:39 UTC

[GitHub] [ozone] Xushaohong commented on a diff in pull request #4650: HDDS-8289. Speed up FSO ListKeys, skip skipToFirst

Xushaohong commented on code in PR #4650:
URL: https://github.com/apache/ozone/pull/4650#discussion_r1185773199


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneListStatusHelper.java:
##########
@@ -340,7 +340,7 @@ public OzoneFileStatus getStatus(String prefixPath, long scmBlockSize,
             String prefixKey, String startKey) throws IOException {
       this.iterType = iterType;
       this.table = table;
-      this.tableIterator = table.iterator();
+      this.tableIterator = table.iterator(prefixKey);

Review Comment:
   +1. These seem unnecessary now.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org