Created attachment 1072156 [details] automation script and logs Description of problem: Improper listing of snaps on FUSE client when the dir under mount point is recreated. Version-Release number of selected component (if applicable): 3.7.1-14 How reproducible: Through Automation script Steps to Reproduce: 1. Create, start and mount the volume on client. 2. Make a directory on the mount point and some files under it. 3. Create a snapshot of the volume say snap0 and activate it. 4. Enable the USS feature. 5. check for the snapd process on all the nodes. 6. remove the earlier created directory from the mount point. 7. create another snapshot of the volume say snap1 and activate it. 8. Make the directory again under /mnt/glusterfs with the same name. 9. cd to /mnt/glusterfs/dir/.snaps and list the contents. Observe that it shows the entry for the created snapshots. 10.now cd to /mnt/glusterfs/dir/.snaps/snap0 and /mnt/glusterfs/dir/.snaps/snap1, observe that the script returns a good status for it even though it should not allow and should give error "Stale file handle" Actual results: Expected results: It should give proper error message "Stale file handle" while cd to /mnt/glusterfs/dir/.snaps/snap0 and /mnt/glusterfs/dir/.snaps/snap1, Additional info: logs and script from automation are attached for the reference.
Reproducible every time through automated tests. Should be looked upon.