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 "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/05/16 13:01:20 UTC

[jira] [Created] (HDFS-6414) xattr modification operations are based on state of latest snapshot instead of current version of inode.

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)