Bug 1300682
| Summary: | [georep+tiering]: Hardlink sync is broken if master volume is tiered | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
| Component: | geo-replication | Assignee: | Saravanakumar <sarumuga> | |
| Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.1 | CC: | avishwan, byarlaga, chrisw, csaba, nlevinki, rcyriac, sankarshan | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | RHGS 3.1.2 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.7.5-18 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1301032 (view as bug list) | Environment: | ||
| Last Closed: | 2016-03-01 06:08:28 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: | ||||
| Bug Blocks: | 1301032, 1302979 | |||
|
Description
Rahul Hinduja
2016-01-21 12:58:07 UTC
RCA: Since with Tiering internal MKNOD is recorded, hardlinks are also recorded as MKNOD. Geo-replication will create hardlinks as new files in Slave instead of hardlink. This new file will have the same GFID as original file but not hardlinked. Data may copied to original file alone when sync happens through rsync. Downstream patch sent https://code.engineering.redhat.com/gerrit/#/c/66678/ Verified with build: glusterfs-3.7.5-18.el7rhgs.x86_64 Note: quick-read is turned off on slave side. Create 10k files and another 10k hardlinks while promote/demotes were inprogress. All the hardlinks got sync to slave and arequal checksum matches as: [root@dj scripts]# ./arequal-checksum -p /mnt/master/ Entry counts Regular files : 20099 Directories : 2551 Symbolic links : 270 Other : 0 Total : 22920 Metadata checksums Regular files : 486e85 Directories : 24d481 Symbolic links : 3e9 Other : 3e9 Checksums Regular files : 3304cde9564cea9b7c58ed0b9b952814 Directories : 521f19232d2d2244 Symbolic links : 30611b563e514719 Other : 0 Total : 2d222297dea5a7d2 [root@dj scripts]# [root@dj scripts]# ./arequal-checksum -p /mnt/slave/ Entry counts Regular files : 20099 Directories : 2551 Symbolic links : 270 Other : 0 Total : 22920 Metadata checksums Regular files : 486e85 Directories : 24d481 Symbolic links : 3e9 Other : 3e9 Checksums Regular files : 3304cde9564cea9b7c58ed0b9b952814 Directories : 521f19232d2d2244 Symbolic links : 30611b563e514719 Other : 0 Total : 2d222297dea5a7d2 [root@dj scripts]# Moving the bug to verified state. Will run the regression and update if the issue is reproducible. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0193.html |