Bug 1376663 - tier: avoid pthread_join if pthread_create fails
Summary: tier: avoid pthread_join if pthread_create fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: tier
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Prasanna Kumar Kalever
QA Contact: krishnaram Karthick
URL:
Whiteboard:
Depends On: 1332219
Blocks: 1335187
TreeView+ depends on / blocked
 
Reported: 2016-09-16 06:37 UTC by Prasanna Kumar Kalever
Modified: 2018-11-08 19:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1332219
Environment:
Last Closed: 2018-11-08 19:17:08 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Prasanna Kumar Kalever 2016-09-16 06:37:27 UTC
+++ This bug was initially created as a clone of Bug #1332219 +++

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):
3.1



COMMIT: http://review.gluster.org/14152 committed in master by Dan Lambright (dlambrig@redhat.com) 
------
commit f7d9814dc16d3a0e1468e7946a9e185cc76246df
Author: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
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@redhat.com>
    Reviewed-on: http://review.gluster.org/14152
    Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
    Smoke: Gluster Build System <jenkins@build.gluster.com>
    Reviewed-by: Joseph Fernandes
    Reviewed-by: Dan Lambright <dlambrig@redhat.com>

Comment 5 hari gowtham 2018-11-08 19:17:08 UTC
As tier is not being actively developed, I'm closing this bug. Feel free to open it if necessary.


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