adoroszlai commented on code in PR #7740:
URL: https://github.com/apache/ozone/pull/7740#discussion_r1929483178


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/BasicOmKeyInfo.java:
##########
@@ -254,7 +255,7 @@ public static BasicOmKeyInfo getFromProtobuf(String 
volumeName,
             basicKeyInfo.getFactor(),
             basicKeyInfo.getEcReplicationConfig()))
         .setETag(basicKeyInfo.getETag())
-        .setIsFile(!keyName.endsWith("/"))
+        .setIsFile(basicKeyInfo.getIsFile())

Review Comment:
   @ptlrs can you please add test case in 
`hadoop-ozone/dist/src/main/smoketest/compatibility/read.robot`?



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to