Siyao Meng created HDFS-16055: --------------------------------- Summary: Quota is not preserved in snapshot INode Key: HDFS-16055 URL: https://issues.apache.org/jira/browse/HDFS-16055 Project: Hadoop HDFS Issue Type: Bug Components: hdfs Affects Versions: 3.3.0 Reporter: Siyao Meng Assignee: Siyao Meng
Quota feature is not preserved during snapshot creation, this causes {{INodeDirectory#metadataEquals}} to ALWAYS return true. Therefore, {{snapshotDiff}} will ALWAYS return the snapshot root as modified, even if the quota is set before the snapshot creation: {code:bash} $ hdfs snapshotDiff /diffTest s0 . Difference between snapshot s0 and current directory under directory /diffTest: M . {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org