Tejaskriya Madhan created HDDS-12159:
----------------------------------------

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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to