Chris Nauroth created HDFS-6414:
-----------------------------------
Summary: xattr modification operations are based on state of
latest snapshot instead of current version of inode.
Key: HDFS-6414
URL: https://issues.apache.org/jira/browse/HDFS-6414
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Affects Versions: HDFS XAttrs (HDFS-2006)
Reporter: Chris Nauroth
Attachments: hdfs-6414.1.patch, hdfs-6414.2.patch
{{XAttrStorage#updateINodeXAttrs}} modifies the inode's {{XAttrFeature}} based
on reading its current state. However, the logic for reading current state is
incorrect and may instead read the state of the latest snapshot. If xattrs
have been changed after creation of that snapshot, then subsequent xattr
operations may yield incorrect results.
--
This message was sent by Atlassian JIRA
(v6.2#6252)