[Bugs] [Bug 1350326] Protocol client not mounting volumes running on older versions.

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 5 11:58:02 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14810 committed in release-3.8 by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 50f8fd392badbec83196638045ed213e8f27e514
Author: Avra Sengupta <asengupt at redhat.com>
Date:   Mon Jun 27 12:40:17 2016 +0530

    protocol/server: Fix client/server compatibility

    The 3.8 client expects a child_up key from the server
    indicating the status of the server translators. This
    key is not being sent by the servers running older
    versions, thereby breaking compatibility.

    With this patch we are treating the absence of the said
    key as an indication that the server trying to connect
    to this client is running an older version and hence
    in such a case we are setting conf->child_up as
    _gf_true explicitly. This should suffice in emulating
    the older behavior.

    Due to the nature of this bug, requiring two version to
    be reproducible, there are no testcases added for the same.

    > Reviewed-on: http://review.gluster.org/14811
    > Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Tested-by: Gluster Build System <jenkins at build.gluster.org>

    (cherry picked from commit 10fa1bcce3b73f630dbc3241722c1af9dee4c414)

    Change-Id: I29e0a5c63b55380dc9db8e42852d7e95b64a2b2e
    BUG: 1350326
    Signed-off-by: Avra Sengupta <asengupt at redhat.com>
    Reviewed-on: http://review.gluster.org/14810
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jdarcy 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=dpjJvnZeyZ&a=cc_unsubscribe


More information about the Bugs mailing list