Bug 1332219 - tier: avoid pthread_join if pthread_create fails
Summary: tier: avoid pthread_join if pthread_create fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Prasanna Kumar Kalever
QA Contact: bugs@gluster.org
URL:
Whiteboard:
: 1315735 (view as bug list)
Depends On:
Blocks: 1335187 1376663
TreeView+ depends on / blocked
 
Reported: 2016-05-02 14:17 UTC by Prasanna Kumar Kalever
Modified: 2017-03-27 18:21 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.9.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1376663 (view as bug list)
Environment:
Last Closed: 2017-03-27 18:21:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1335187 0 unspecified CLOSED tier: uninitialized memory use 2021-02-22 00:41:40 UTC

Internal Links: 1335187

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/


Note You need to log in before you can comment on or make changes to this bug.