[Bugs] [Bug 1188471] When the volume is in stopped state/all the bricks are down mount of the volume hangs

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 30 07:20:42 UTC 2015


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9551 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit d1eb4f520b35c1057c7cb3427a51dd6ae75cc61f
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Thu Jan 8 15:39:40 2015 +0530

    cluster/ec: Handle CHILD UP/DOWN in all cases

            Backport of http://review.gluster.org/9396

    Problem:
    When all the bricks are down at the time of mounting the volume, then mount
    command hangs.

    Fix:
    1. Ignore all CHILD_CONNECTING events comming from subvolumes.
    2. On timer expiration (without enough up or down childs) send
       CHILD_DOWN.
    3. Once enough up or down subvolumes are detected, send the appropriate
event.
       When rest of the subvols go up/down without changing the overall
       ec-up/ec-down send CHILD_MODIFIED to parent subvols.

    BUG: 1188471
    Change-Id: If92bd84107d49495cd104deb34601afe7f9b155c
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9551
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra Bhat <raghavendra 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=mJDlJwWpgx&a=cc_unsubscribe


More information about the Bugs mailing list