You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tejaskriya Madhan (Jira)" <ji...@apache.org> on 2025/01/29 11:03:00 UTC
[jira] [Created] (HDDS-12159) Remove unnecessary iterator seek in OMFileRequest#checkSubFileExists
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org