jojochuang commented on code in PR #7794:
URL: https://github.com/apache/ozone/pull/7794#discussion_r1942028422
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1955,19 +1955,15 @@ public Set<String> getMultipartUploadKeys(
}
}
+ // prefixed iterator will only iterate until keys match the prefix
try (TableIterator<String, ? extends KeyValue<String, OmMultipartKeyInfo>>
- iterator = getMultipartInfoTable().iterator()) {
Review Comment:
i don't see this one became a problem in my stacktrace, but it should be
fixed too.
There are 100+ of similar iterator usages. It would be a huge effort to try
and update all of them.
--
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]