Bug 761735 (GLUSTER-3)

Summary: Crash in replicate self heal
Product: [Community] GlusterFS Reporter: Vikas Gorur <vikas>
Component: replicateAssignee: Vikas Gorur <vikas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-03 05:51:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vikas Gorur 2009-06-03 04:49:18 UTC
Fixed by patch: http://patches.gluster.com/patch/489/

Comment 1 Vikas Gorur 2009-06-03 07:09:31 UTC
replicate over 2 posix subvolumes. Ran a simple dbench and replicate crashed during data self heal.

Backtrace:

#0  0xb750c151 in afr_sh_data_close (frame=0x80bdcc0, this=0x8056ca0)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:180
#1  0xb750c628 in afr_sh_data_unlck_cbk (frame=0x80bdcc0, cookie=0x1, this=0x8056ca0, op_ret=0, op_errno=0)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:236
#2  0xb7f39165 in pl_inodelk (frame=0x80c4e70, this=0x8056b00, volume=0x8056c60 "afr", loc=0x80baf40, cmd=13, 
    flock=0xb6c99aa4) at ../../../../../xlators/features/locks/src/internal.c:194
#3  0xb750c8bf in afr_sh_data_unlock (frame=0x80bdcc0, this=0x8056ca0)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:273
#4  0xb750c97d in afr_sh_data_finish (frame=0x80bdcc0, this=0x8056ca0)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:298
#5  0xb750ca15 in afr_sh_data_erase_pending_cbk (frame=0x80bdcc0, cookie=0x1, this=0x8056ca0, op_ret=0, 
    op_errno=61, xattr=0x80c4d78) at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:326
#6  0xb7f03ebe in default_xattrop_cbk (frame=0x80c4fc0, cookie=0x80c4ff0, this=0x8056b00, op_ret=0, 
    op_errno=61, dict=0x80c4d78) at ../../../libglusterfs/src/defaults.c:1082
#7  0xb75312ab in posix_xattrop (frame=0x80c4ff0, this=0x8056968, loc=0x80baf40, optype=GF_XATTROP_ADD_ARRAY, 
    xattr=0x80c4d78) at ../../../../../xlators/storage/posix/src/posix.c:2739
#8  0xb7f0400e in default_xattrop (frame=0x80c4fc0, this=0x8056b00, loc=0x80baf40, flags=GF_XATTROP_ADD_ARRAY, 
    dict=0x80c4d78) at ../../../libglusterfs/src/defaults.c:1093
#9  0xb750cd60 in afr_sh_data_erase_pending (frame=0x80bdcc0, this=0x8056ca0)
    at ../../../../../xlators/cluster/afr/src/afr-self-heal-data.c:373

[.... many more frames ...]