[Bugs] [Bug 1399423] GlusterFS client crashes during remove-brick operation

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 4 03:41:28 UTC 2017


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15793 committed in release-3.8 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit 2b34adff73897ff6086b640fe7f7c592a9ed54b7
Author: Raghavendra G <rgowdapp at redhat.com>
Date:   Tue Nov 8 12:09:57 2016 +0530

    cluster/dht: Fix memory corruption while accessing regex stored in
    private

    If reconfigure is executed parallely (or concurrently with dht_init),
    there are races that can corrupt memory. One such race is modification
    of regexes stored in conf (conf->rsync_regex_valid and
    conf->extra_regex_valid) through dht_init_regex. With change [1],
    reconfigure codepath can get executed parallely (with itself or with
    dht_init) and this fix is needed.

    Also, a reconfigure can race with any thread doing dht_layout_search,
    resulting in dht_layout_search accessing regex freed up by reconfigure
    (like in bz 1399134).

    [1] http://review.gluster.org/15046

    >Change-Id: I039422a65374cf0ccbe0073441f0e8c442ebf830
    >BUG: 1399134
    >Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
    >Reviewed-on: http://review.gluster.org/15945
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >Reviewed-by: N Balachandran <nbalacha at redhat.com>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>

    Change-Id: I039422a65374cf0ccbe0073441f0e8c442ebf830
    BUG: 1399423
    Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
    (cherry picked from commit 64451d0f25e7cc7aafc1b6589122648281e4310a)
    Reviewed-on: http://review.gluster.org/15793
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>

-- 
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=nCwbK4kw43&a=cc_unsubscribe


More information about the Bugs mailing list