mukul1987 commented on a change in pull request #623: HDDS-2941. file create : create key table entries for intermediate directories in the path URL: https://github.com/apache/hadoop-ozone/pull/623#discussion_r389257243
########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/key/OMKeyCreateResponse.java ########## @@ -60,6 +68,22 @@ protected void addToDBBatch(OMMetadataManager omMetadataManager, omKeyInfo.getBucketName(), omKeyInfo.getKeyName(), openKeySessionID); omMetadataManager.getOpenKeyTable().putWithBatch(batchOperation, openKey, omKeyInfo); + /** + * Create parent directory entries during Key Create - do not wait Review comment: let's also follow the same order in DirectoryCreateResponse. ---------------------------------------------------------------- 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 With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org