Bug 843071 - Index xlator has race in init which leads to crash.
Index xlator has race in init which leads to crash.
Product: GlusterFS
Classification: Community
Component: unclassified (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Pranith Kumar K
Sachidananda Urs
Depends On:
  Show dependency treegraph
Reported: 2012-07-25 09:53 EDT by Pranith Kumar K
Modified: 2013-07-24 14:00 EDT (History)
2 users (show)

See Also:
Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-24 14:00:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pranith Kumar K 2012-07-25 09:53:46 EDT
Description of problem:
    In index_worker function at the time of assigning priv from
    this->private, this->private may not be set in init() function
    of index xlator.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Vijay Bellur 2012-07-25 11:16:35 EDT
CHANGE: http://review.gluster.com/3728 (features/index: Fix race in this->private initialization) merged in master by Vijay Bellur (vbellur@redhat.com)
Comment 2 Vijay Bellur 2012-07-25 17:52:57 EDT
CHANGE: http://review.gluster.com/3729 (features/index: make pthread_attr_t local to init()) merged in master by Anand Avati (avati@redhat.com)

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