Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Currently in INode#cleanSubtree(...) we only calculate the namespace/diskspace change when deleting snapshots. We also need to compute the space change when deleting files/directories in the current tree so as to update the FilesDeleted metric. This can fix the failing testcase TestNameNodeMetrics.