[Bugs] [Bug 1151397] DHT: Rebalance process crash after add-brick and `rebalance start' operation

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 3 18:35:44 UTC 2015


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9765 committed in release-3.4 by Shyamsundar
Ranganathan (srangana at redhat.com) 
------
commit 863580580536654a08f1b7134066949729cc8bf5
Author: Kaleb S. KEITHLEY <kkeithle at redhat.com>
Date:   Thu Feb 26 18:10:33 2015 -0500

    cluster/dht: Fixed double UNWIND in lookup everywhere code

    backport of http://review.gluster.org/#/c/8666/2 on master

    In dht_lookup_everywhere_done:
    At line 1107 we call DHT_STACK_UNWIND
    and in the same if condition we go ahead and call, goto
    unwind_hashed_and_cached; which at Line 1371 calls another UNWIND.

    As is obvious, higher frames could cleanup their locals and on
    receiving the next unwind could cause a coredump of the process.

    Fixed the same by calling the required return post the first unwind

    Change-Id: I4629680af7ebecd9828941d883e33fb6e43d9703
    BUG: 1151397
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle at redhat.com>
    Reviewed-on: http://review.gluster.org/9765
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana 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