gfphoenix78 commented on code in PR #1437:
URL: https://github.com/apache/cloudberry/pull/1437#discussion_r2526027646


##########
src/backend/utils/adt/dbsize.c:
##########
@@ -153,6 +153,15 @@ db_dir_size(const char *path)
                        continue;
 
                snprintf(filename, sizeof(filename), "%s/%s", path, 
direntry->d_name);
+               if (direntry->d_type == DT_DIR)
+               {
+                       /**
+                        * Recurse into subdirectory. PAX stores data file in a 
separate
+                        * directory, so we need to account for that.

Review Comment:
   no, it's `account for`



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