Bug 801394
Summary: | Symlinks are not getting synced on the slave with distribute striped volume. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Vijaykumar Koppad <vkoppad> |
Component: | geo-replication | Assignee: | Venky Shankar <vshankar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | mainline | CC: | bbandari, gluster-bugs, shmohan, vshankar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 18:04:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
Vijaykumar Koppad
2012-03-08 12:41:55 UTC
The problem is with stripe. time stamps are not getting updated on a link file. [root@RHEL6 mnt]# stat testfile File: `testfile' -> `/testfile' Size: 9 Blocks: 0 IO Block: 131072 symbolic link Device: 15h/21d Inode: 10608527655181040018 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-03-09 01:36:29.646159892 -0500 Modify: 2012-03-09 01:36:24.965139175 -0500 Change: 2012-03-09 01:36:24.965139175 -0500 [root@RHEL6 mnt]# touch testfile [root@RHEL6 mnt]# stat testfile File: `testfile' -> `/testfile' Size: 9 Blocks: 0 IO Block: 131072 symbolic link Device: 15h/21d Inode: 10608527655181040018 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-03-09 01:36:29.646159892 -0500 Modify: 2012-03-09 01:36:24.965139175 -0500 Change: 2012-03-09 01:36:24.965139175 -0500 This is the default behavior of the backend file system too. time stamp for a soft link will not be updated. Non-data files (links, fifo, device files) are only created in the first subvolume (stripe's first subvol). But while fetching xtime extended attribute the code winds to all subvol's are propogated the errno upwards on the xlator stack. Since the file is present only in the first subvol - we get a ENOENT from all but the first wind and hence send this errno upwards. Fix will be to wind to the first child for non-data entities. CHANGE: http://review.gluster.com/2948 (cluster/stripe: fix {set/get}xattr query for dirs/symlink) merged in master by Anand Avati (avati) |