Bug 1286637
Summary: | [geo-rep+tiering]: symlinks are not getting synced to slave on tiered master setup | |||
---|---|---|---|---|
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: | high | |||
Version: | rhgs-3.1 | CC: | avishwan, byarlaga, chrisw, csaba, nchilaka, nlevinki, sankarshan, sarumuga | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.1.2 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.5-9 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1287519 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-01 05:59:39 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: | 1260783, 1287519, 1288027 |
Description
Rahul Hinduja
2015-11-30 11:51:14 UTC
RCA: Changes carried out in Geo-replication are under the assumption that HASH is HOT tier and Cache is COLD tier, so that all namespace operations are avoided in COLD tier. This is no longer the case, (Currently changed as: HASH is COLD tier and CACHE is HOT tier). SYMLINK operations are carried out only in COLD tier and as we avoid cold bricks(in current implementation), all symlink creation operation are not replayed at slave end. Changes will be done such at all namespace operations will be captured only in COLD brick and avoided in HOT bricks. Upstream Patch: http://review.gluster.org/12844 Downstream patch: https://code.engineering.redhat.com/gerrit/#/c/62896/ Verified with build: glusterfs-3.7.5-10.el7rhgs.x86_64 Symlinks are synced to slave. Moving this bug to verified state. Links on slave volume: ====================== [root@mia slave]# mount | grep slave 10.70.37.99:/slave on /mnt/slave type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072) [root@mia slave]# ls -l total 0 -rw-r--r--. 1 root root 0 Dec 8 05:19 1 -rw-r--r--. 1 root root 0 Dec 8 05:19 2 -rw-r--r--. 1 root root 0 Dec 8 05:19 3 -rw-r--r--. 1 root root 0 Dec 8 05:19 4 -rw-r--r--. 1 root root 0 Dec 8 05:19 5 -rw-r--r--. 1 root root 0 Dec 8 05:19 6 -rw-r--r--. 1 root root 0 Dec 8 05:19 7 -rw-r--r--. 1 root root 0 Dec 8 05:19 8 -rw-r--r--. 1 root root 0 Dec 8 05:19 9 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.1 -> 1 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.2 -> 2 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.3 -> 3 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.4 -> 4 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.5 -> 5 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.6 -> 6 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.7 -> 7 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.8 -> 8 lrwxrwxrwx. 1 root root 1 Dec 8 2015 s.9 -> 9 [root@mia slave]# 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 |