Bug 1332219

Summary: tier: avoid pthread_join if pthread_create fails
Product: [Community] GlusterFS Reporter: Prasanna Kumar Kalever <prasanna.kalever>
Component: tieringAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, rkavunga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1376663 (view as bug list) Environment:
Last Closed: 2017-03-27 18:21:04 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: 1335187, 1376663    

Description Prasanna Kumar Kalever 2016-05-02 14:17:55 UTC
Description of problem:
rearrange the code, to add some defence functionality for
pthread_create(), i.e. only on a success on pthread_create() call
pthread_join().

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

Comment 1 Vijay Bellur 2016-05-02 14:18:22 UTC
REVIEW: http://review.gluster.org/14152 (tier: avoid pthread_join if pthread_create fails) posted (#1) for review on master by Prasanna Kumar Kalever (pkalever)

Comment 2 Vijay Bellur 2016-05-03 06:56:33 UTC
REVIEW: http://review.gluster.org/14152 (tier: avoid pthread_join if pthread_create fails) posted (#2) for review on master by Prasanna Kumar Kalever (pkalever)

Comment 3 Prasanna Kumar Kalever 2016-05-03 07:01:38 UTC
*** Bug 1315735 has been marked as a duplicate of this bug. ***

Comment 4 Vijay Bellur 2016-05-11 23:59:53 UTC
COMMIT: http://review.gluster.org/14152 committed in master by Dan Lambright (dlambrig) 
------
commit f7d9814dc16d3a0e1468e7946a9e185cc76246df
Author: Prasanna Kumar Kalever <prasanna.kalever>
Date:   Mon May 2 19:38:55 2016 +0530

    tier: avoid pthread_join if pthread_create fails
    
    this patch rearrange the code, to add some defence functionality for
    pthread_create(), i.e. only on a success on pthread_create() call
    pthread_join().
    
    Change-Id: I0836bc950a210574cfdc755a666c6ac5df6ab430
    BUG: 1332219
    Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever>
    Reviewed-on: http://review.gluster.org/14152
    Tested-by: Prasanna Kumar Kalever <pkalever>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Joseph Fernandes
    Reviewed-by: Dan Lambright <dlambrig>

Comment 5 Shyamsundar 2017-03-27 18:21:04 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.9.0, please open a new bug report.

glusterfs-3.9.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/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/