[Bugs] [Bug 1325841] Volume stop is failing when one of brick is down due to underlying filesystem crash

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 11 18:39:35 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13965 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit d129d4eea33aae5db24dba17adcb04e9d4829817
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Mon Apr 11 16:07:40 2016 +0530

    glusterd: populate brickinfo->real_path conditionally

    glusterd_brickinfo_new_from_brick () is called from multiple places and one
of
    them is glusterd_brick_rpc_notify where its very well possible that an
    underlying brick's file system has crashed and a disconnect event has been
    received. In this case glusterd tries to build the brickinfo from the
brickid in
    the RPC request, however the same fails as
glusterd_brickinfo_new_from_brick ()
    fails from realpath.

    Fix is to skip populating real_path if its a disconnect event.

    Change-Id: I9d9149c64a9cf2247abb731f219c1b1eef037960
    BUG: 1325841
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/13965
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list