ZanderXu created HDFS-17482:
-------------------------------

             Summary: [FGL] Update quotas when committing block
                 Key: HDFS-17482
                 URL: https://issues.apache.org/jira/browse/HDFS-17482
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: ZanderXu
            Assignee: ZanderXu


The block size will not be changed after committed, so it's the time to update 
quota.

HDFS-10843 moves quota update logic when completing block to fix some bugs. BR 
and IBR may complete block, so it means that the BR and IBR needs to update 
quota for the full directory tree.

This modification couples file operations and block operations, it results the 
BR and IRB needs to hold the global FS lock. So it is unreasonable.

 

I think HDFS-17481 can also fix the bugs mentioned in HDFS-10843.



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

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

Reply via email to