chungen0126 commented on code in PR #5093:
URL: https://github.com/apache/ozone/pull/5093#discussion_r1315750781


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:
##########
@@ -1242,7 +1242,7 @@ private OmKeyInfo createFakeDirIfShould(String volume, 
String bucket,
           // in different volume/bucket, such as "/vol1/bucket2/dir2/key2".
           if (key.startsWith(targetKey)) {
             if (!Objects.equals(key, targetKey)
-                && !isKeyDeleted(key, keyTable)) {
+                && keyTable.isExist(key)) {

Review Comment:
   @devmadhuu Thanks for your review. Here is an 
[issue](https://issues.apache.org/jira/browse/HDDS-6238) about that creating a 
deleteSet will lead to bloat in memory.  I'm not sure if it is bothered now.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to