Bug 762003 (GLUSTER-271) - applications using booster protocol/client crash in client_setvolume_cbk.
Summary: applications using booster protocol/client crash in client_setvolume_cbk.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-271
Product: GlusterFS
Classification: Community
Component: protocol
Version: 2.0.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
: GLUSTER-278 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-17 20:26 UTC by Raghavendra G
Modified: 2009-09-23 08:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra G 2009-09-17 20:26:58 UTC
protocol/client uses get_global_ctx_ptr to access the glusterfs context. However libglusterfsclient does not set the global ctx pointer since there can be many glusterfs contexts initialized. Hence protocol/client should access the context from the ctx member of xlator object.

Comment 1 Shehjar Tikoo 2009-09-22 07:36:29 UTC
*** Bug 278 has been marked as a duplicate of this bug. ***

Comment 2 Anand Avati 2009-09-22 10:12:37 UTC
PATCH: http://patches.gluster.com/patch/1395 in master (protocol/client: access glusterfs context from the ctx member of xlator object)

Comment 3 Anand Avati 2009-09-22 10:13:46 UTC
PATCH: http://patches.gluster.com/patch/1394 in release-2.0 (protocol/client: access glusterfs context from the ctx member of xlator object)


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