[ https://issues.apache.org/jira/browse/HDDS-12159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-12159: ---------------------------------- Labels: pull-request-available (was: ) > Remove unnecessary iterator seek in OMFileRequest#checkSubFileExists > --------------------------------------------------------------------- > > Key: HDDS-12159 > URL: https://issues.apache.org/jira/browse/HDDS-12159 > Project: Apache Ozone > Issue Type: Bug > Reporter: Tejaskriya Madhan > Assignee: Tejaskriya Madhan > Priority: Major > Labels: pull-request-available > > In > `org.apache.hadoop.ozone.om.request.file.OMFileRequest#checkSubFileExists`, > an iterator is created for the fileTable. 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 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org