Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Per the discussion here, currently we call INode#addSpaceConsumed while file/dir/snapshot deletion, even if this is still in the edits loading process. This is unnecessary and can cause issue like HDFS-7611. We should collect quota change and call FSDirectory#updateCount at the end of the operation.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-11254 Standby NameNode may crash during failover if loading edits takes too long
- Resolved
-
HDFS-7584 Enable Quota Support for Storage Types
- Closed
- relates to
-
HDFS-6763 Initialize file system-wide quota once on transitioning to active
- Resolved