[Bugs] [Bug 1299710] Glusterd: Creation of volume is failing if one of the brick is down on the server

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 29 11:55:31 UTC 2016


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



--- Comment #7 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13258 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit a60c39de31e8258cb56d8db6bd8ec2491a942a4e
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Tue Jan 19 10:45:22 2016 +0530

    glusterd: use string comparison for realpath checks in
glusterd_is_brickpath_available

    glusterd_is_brickpath_available () used to call realpath() for checking the
    whether the new brick path matches with the existing ones. The problem with
this
    is if the underlying file system is bad for any one of the existing bricks
then
    realpath() would fail and we wouldn't allow to create the new brick even if
it
    should be allowed.

    Fix is to use string comparison with having a new field real_path in
brickinfo
    to store the absolute path

    Change-Id: I1250ea5345f00fca0f6128056ebd08750d604f0a
    BUG: 1299710
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/13258
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy 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=UPPpEUQsOe&a=cc_unsubscribe


More information about the Bugs mailing list