Aravindan Vijayan created HDDS-2380:
---------------------------------------

             Summary: OMFileRequest should use the isExist API while checking 
for pre-existing files in the directory path. 
                 Key: HDDS-2380
                 URL: https://issues.apache.org/jira/browse/HDDS-2380
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Manager
            Reporter: Aravindan Vijayan
             Fix For: 0.5.0


Currently, when OM creates a file/directory, it checks the absence of all 
prefix paths of the key in its RocksDB. Since we don't care about the 
deserialization of the actual value, we should use the isExist API added in 
org.apache.hadoop.hdds.utils.db.Table which internally uses the more performant 
keyMayExist API of RocksDB.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to