[Bugs] [Bug 1399134] GlusterFS client crashes during remove-brick operation
bugzilla at redhat.com
bugzilla at redhat.com
Thu Dec 8 17:56:45 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1399134
--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15945 committed in master by Shyamsundar
Ranganathan (srangana at redhat.com)
------
commit 64451d0f25e7cc7aafc1b6589122648281e4310a
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>
--
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=r77sVK0shs&a=cc_unsubscribe
More information about the Bugs
mailing list