[ 
https://issues.apache.org/jira/browse/HDFS-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788413#comment-13788413
 ] 

Colin Patrick McCabe commented on HDFS-5303:
--------------------------------------------

bq. With a whole-volume snapshot, I believe the user still can assume 
immutability as long as the symlinks don't jump out of the volume.

But symlinks can jump out of the volume.  Symlinks on ZFS can point anywhere.

bq. At this point, I propose that the scope of this jira is to update the 
snapshot documentation to warn end users about the pitfalls of combining 
snapshots and symlinks. (No code changes.)

agree

> A symlink within a snapshot pointing to a target outside the snapshot root 
> can cause the snapshot contents to appear to change.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5303
>                 URL: https://issues.apache.org/jira/browse/HDFS-5303
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Chris Nauroth
>
> A snapshot is supposed to represent the point-in-time state of a directory.  
> However, if the directory contains a symlink that targets a file outside the 
> snapshot root, then the snapshot contents will appear to change if someone 
> changes the target file (i.e. delete or append).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to