[
https://issues.apache.org/jira/browse/HDDS-12159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tejaskriya Madhan updated HDDS-12159:
-------------------------------------
Summary: Remove unnecessary iterator seek in fileTable and DirectoryTable
uses (was: Remove unnecessary iterator seek in
OMFileRequest#checkSubFileExists )
> Remove unnecessary iterator seek in fileTable and DirectoryTable uses
> ---------------------------------------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]