Bug 1421955

Summary: Disperse: Fallback to pre-compiled code execution when dynamic code generation fails
Product: [Community] GlusterFS Reporter: Xavi Hernandez <jahernan>
Component: disperseAssignee: Xavi Hernandez <jahernan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: anoopcs, aspandey, bugs, jahernan, pkarampu
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.11.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1421956 (view as bug list) Environment:
Last Closed: 2017-03-03 08:57:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1421956    

Description Xavi Hernandez 2017-02-14 08:33:38 UTC
Description of problem:

If a failure is detected while creating dynamic code, fallback to the pre-compiled version instead of failing.

Version-Release number of selected component (if applicable): mainline


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-02-14 10:15:00 UTC
REVIEW: https://review.gluster.org/16614 (cluster/ec: Fallback to precompiled code) posted (#1) for review on master by Xavier Hernandez (xhernandez)

Comment 2 Worker Ant 2017-02-21 09:45:12 UTC
COMMIT: https://review.gluster.org/16614 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 9f9d1482868e8e1044790c8358893f4421d89692
Author: Xavier Hernandez <xhernandez>
Date:   Tue Feb 14 11:12:58 2017 +0100

    cluster/ec: Fallback to precompiled code
    
    When dynamic code generation fails for some reason, instead of causing
    a failure in encode/decode, fallback to the precompiled version.
    
    Change-Id: I4f8a97d3033aa5885779722b19c6e611caa4ffea
    BUG: 1421955
    Signed-off-by: Xavier Hernandez <xhernandez>
    Reviewed-on: https://review.gluster.org/16614
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 3 Shyamsundar 2017-05-30 18:43:01 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/