ChenSammi commented on a change in pull request #976: URL: https://github.com/apache/hadoop-ozone/pull/976#discussion_r432237092
########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java ########## @@ -2037,11 +2037,11 @@ private void listStatusFindKeyInTableCache( // if entry is a directory if (!deletedKeySet.contains(entryInDb)) { if (!entryKeyName.equals(immediateChild)) { - OmKeyInfo fakeDirEntry = new OmKeyInfo.Builder() - .setVolumeName(omKeyInfo.getVolumeName()) - .setBucketName(omKeyInfo.getBucketName()) - .setKeyName(immediateChild) - .build(); + OmKeyInfo fakeDirEntry = createDirectoryKey( Review comment: Sure. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org