Tejaskriya opened a new pull request, #7794: URL: https://github.com/apache/ozone/pull/7794
## What changes were proposed in this pull request? In many code bits, an iterator is created for a rocksDB table. During this, a seek to the first record takes place internally. Following which a seek to a prefix is done in the method. RocksDB provides iterator(prefix) method to directly create and seek together. This would be more efficient. The following iterators were changed: `OMFileRequest#checkSubFileExists` `OMFileRequest#checkSubDirectoryExists` `KeyManagerImpl#getPendingDeletionSubDirs ` `KeyManagerImpl#getPendingDeletionSubFiles ` `OmMetadataManagerImp#getMultipartUploadKeys` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12159 ## How was this patch tested? Existing unit and integration tests -- 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-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org