smengcl commented on code in PR #5175: URL: https://github.com/apache/ozone/pull/5175#discussion_r1295141929
########## hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl.java: ########## @@ -1209,7 +1209,9 @@ private static FileStatusAdapter getFileStatusAdapterForBucketSnapshot( ozoneSnapshot.getName(), pathStr); } Path path = new Path(pathStr); - return new FileStatusAdapter(0L, 0L, path, true, (short)0, 0L, + return new FileStatusAdapter( + ozoneSnapshot.getReferencedSize(), ozoneSnapshot.getReferencedSize(), + path, true, (short)0, 0L, Review Comment: Done -- 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