You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/06/04 22:19:00 UTC
[jira] [Created] (HDFS-16055) Quota is not preserved in snapshot
INode
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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org