[Bugs] [Bug 1386626] fuse mount point not accessible

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 25 06:42:25 UTC 2016


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15681 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit a6b63e11b7758cf1bfcb67985e25ec02845f0995
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Wed Oct 19 15:50:50 2016 +0530

    rpc: Fix the race between notification and reconnection

    Problem:
    There was a hang because unlock on an entry failed with
    ENOTCONN.
    Client thinks the connection is down where as server thinks
    the connection is up.

    This is the race we are seeing:
    1) Connection from client to the brick disconnects.
    2) Saved frames unwind is called which unwinds all
       frames that were wound before disconnect.
    3) connection from client to the brick happens and
       setvolume.
    4) Disconnect notification for the connection in 1)
       comes now and calls client_rpc_notify() which
       marks the connection to be offline even when the
       connection is up.

    This is happening because I/O can retrigger connection
    before disconnect notification is sent to the higher
    layers in rpc.

    Fix:
    Notify the higher layers that a disconnect happened and then
    go ahead with reconnect logic.

    For the logs which point to the information above check:
    https://bugzilla.redhat.com/show_bug.cgi?id=1386626#c1

    Thanks to Raghavendra G for suggesting the correct fix.

    BUG: 1386626
    Change-Id: I3c84ba1f17010bd69049fa88ec5f0ae431f8cda9
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/15681
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp 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