hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6414) xattr modification operations are based on state of latest snapshot instead of current version of inode.
Date Fri, 16 May 2014 11:01:20 GMT
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)

Mime
View raw message