[ https://issues.apache.org/jira/browse/HDDS-2380?focusedWorklogId=336965&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-336965 ]
ASF GitHub Bot logged work on HDDS-2380: ---------------------------------------- Author: ASF GitHub Bot Created on: 31/Oct/19 18:04 Start Date: 31/Oct/19 18:04 Worklog Time Spent: 10m Work Description: anuengineer commented on pull request #102: HDDS-2380. Use the Table.isExist() API instead of get() API while checking for presence of key. URL: https://github.com/apache/hadoop-ozone/pull/102 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 336965) Time Spent: 20m (was: 10m) > Use the Table.isExist API instead of get() call while checking for presence > of key. > ----------------------------------------------------------------------------------- > > 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 > Assignee: Aravindan Vijayan > Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 20m > Remaining Estimate: 0h > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org