Bug 1302979
Summary: | [georep+tiering]: Hardlink sync is broken if master volume is tiered | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Saravanakumar <sarumuga> |
Component: | geo-replication | Assignee: | Saravanakumar <sarumuga> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.7 | CC: | avishwan, bugs, chrisw, csaba, nlevinki, rhinduja, sankarshan, storage-qa-internal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.7.9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1301032 | Environment: | |
Last Closed: | 2016-03-22 08:14:22 UTC | Type: | Bug |
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: | 1300682, 1301032 | ||
Bug Blocks: | 1309567 |
Description
Saravanakumar
2016-01-29 08:23:06 UTC
REVIEW: http://review.gluster.org/13315 (geo-rep: Handle hardlink in Tiering based volume) posted (#1) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/13315 (geo-rep: Handle hardlink in Tiering based volume) posted (#2) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/13315 (geo-rep: Handle hardlink in Tiering based volume) posted (#3) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/13315 (geo-rep: Handle hardlink in Tiering based volume) posted (#4) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) COMMIT: http://review.gluster.org/13315 committed in release-3.7 by Vijay Bellur (vbellur) ------ commit 478203fd9447cbc67c7cdc2980d6bdf4881984bf Author: Saravanakumar Arumugam <sarumuga> Date: Fri Jan 22 16:58:13 2016 +0530 geo-rep: Handle hardlink in Tiering based volume Problem: Hardlinks are synced as Sticky bit files to Slave in a Tiering based volume. In a Tiering based volume, cold tier is hashed subvolume and geo-rep captures all namespace operations in cold tier. While syncing a file and its corresponding hardlink, it is recorded as MKNOD in cold tier(for both) and We end up creating two different files in Slave. Solution: If MKNOD with Sticky bit set is present, record it as LINK. This way it will create a HARDLINK if source file exists (on slave), else it will create a new file. This way, Slave can create Hardlink file itself (instead of creating a new file) in case of hardlink. Change-Id: Ic50dc6e64df9ed01799c30539a33daace0abe6d4 BUG: 1302979 Signed-off-by: Saravanakumar Arumugam <sarumuga> Signed-off-by: Aravinda VK <avishwan> Reviewed-on: http://review.gluster.org/13281 Reviewed-on: http://review.gluster.org/13315 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.9, please open a new bug report. glusterfs-3.7.9 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://www.gluster.org/pipermail/gluster-users/2016-March/025922.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |