[Bugs] [Bug 1366440] [AFR]: Files not available in the mount point after converting Distributed volume type to Replicated one.

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 18 16:55:20 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1366440



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/15151 committed in release-3.8 by Atin
Mukherjee (amukherj at redhat.com) 
------
commit 490d13b77619be7bb8edeadbfe1e8cf6eb7a0576
Author: Mohit Agrawal <moagrawa at redhat.com>
Date:   Tue Aug 9 15:53:27 2016 +0530

    glusterd: Convert volume to replica after adding brick self heal is not
triggered

    Problem:  After add brick to a distribute volume to convert to replica is
not
              triggering self heal.

    Solution: Modify the condition in brick_graph_add_index to set
trusted.afr.dirty
              attribute in xlator.

    Test    : To verify the patch followd below steps
              1) Create a single node volume
                 gluster volume create <DIS> <IP:/dist1/brick1>
              2) Start volume and create mount point
                 mount -t glusterfs <IP>:/DIS /mnt
              3) Touch some file and write some data on file
              4) Add another brick along with replica 2
                 gluster volume add-brick DIS replica 2 <IP>:/dist2/brick2
              5) Before apply the patch file size is 0 bytes in mount point.
    Backport of commit 87bb8d0400d4ed18dd3954b1d9e5ca6ee0fb9742
    BUG: 1366440
    Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>

    > Change-Id: Ief0ccbf98ea21b53d0e27edef177db6cabb3397f
    > Signed-off-by: Mohit Agrawal <moagrawa at redhat.com>
    > Reviewed-on: http://review.gluster.org/15118
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    > Reviewed-by: Anuradha Talur <atalur at redhat.com>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    > (cherry picked from commit 87bb8d0400d4ed18dd3954b1d9e5ca6ee0fb9742)

    Change-Id: Icd104cf5a2152a9c606dac209746e2953c4d293e
    Reviewed-on: http://review.gluster.org/15151
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Anuradha Talur <atalur at redhat.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Tested-by: Atin Mukherjee <amukherj at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Y2vl2GcwYX&a=cc_unsubscribe


More information about the Bugs mailing list