You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/02/20 00:30:00 UTC

[jira] [Commented] (HDFS-17839) Rename skips path without valid 'DirectoryWithQuotaFeature' in FSDirRenameOp

    [ https://issues.apache.org/jira/browse/HDFS-17839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059832#comment-18059832 ] 

ASF GitHub Bot commented on HDFS-17839:
---------------------------------------

github-actions[bot] commented on PR #7989:
URL: https://github.com/apache/hadoop/pull/7989#issuecomment-3930906175

   We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you feel like this was a mistake, or you would like to continue working on it, please feel free to re-open it and ask for a committer to remove the stale tag and review again.
   Thanks all for your contribution.




> Rename skips path without valid 'DirectoryWithQuotaFeature' in FSDirRenameOp
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-17839
>                 URL: https://issues.apache.org/jira/browse/HDFS-17839
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Zhaobo Huang
>            Assignee: Zhaobo Huang
>            Priority: Major
>              Labels: pull-request-available
>
> Calculating quota usage is primarily used to update directories labeled with the DirectoryWithQuotaFeature. When there is no valid DirectoryWithQuotaFeature in the paths of src and dst (excluding the root directory), the quota should not be calculated in rename scenarios:
> 1. rename1 does not change the quota of the root directory, so neither src nor dst contains DirectoryWithQuotaFeature (excluding the root directory). The operation of calculating quota should be skipped.
> 2. In the scenario of overwriting, rename2 still needs to consider calculating quota, otherwise it will affect the quotaUsage value of the root directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org