[Gluster-devel] self heal fails

Pranith Kumar Karampuri pkarampu at redhat.com
Tue Jun 5 11:57:16 UTC 2012

hi Emmanuel,
    If lookup triggers self-heal and the self-heal fails, lookup wont fail unless it is a splitbrain on the entry i.e. gfid mismatch. There seems to be a problem in the logs you have mentioned. For some reason the gfid is all zeros, I wonder how you hit this case. Do you have a testcase that can re-create this case.
Could you post the output of
'getfattr -d -m . -e hex' for /manu/netbsd/usr/src/lib/libkafs, /manu/netbsd/usr/src/lib/libkafs/libkafs.so.9, /manu/netbsd/usr/src/lib/libkafs/libkafs.so On both the bricks.


----- Original Message -----
From: "Emmanuel Dreyfus" <manu at netbsd.org>
To: gluster-devel at nongnu.org
Sent: Tuesday, June 5, 2012 3:16:39 PM
Subject: [Gluster-devel] self heal fails


Observer with release-3.3:

[2012-06-05 11:44:24.116800] I [afr-common.c:1340:afr_launch_self_heal] 0-pfs-replicate-0: background  entry self-heal triggered. path: /manu/netbsd/usr/src/lib/libkafs, reason: lookup detected pending operations
[2012-06-05 11:44:25.272899] W [client3_1-fops.c:2457:client3_1_link_cbk] 0-pfs-client-1: remote operation failed: File exists (00000000-0000-0000-0000-000000000000 -> /manu/netbsd/usr/src/lib/libkafs/libkafs.so.9)
[2012-06-05 11:44:25.273641] W [client3_1-fops.c:2457:client3_1_link_cbk] 0-pfs-client-1: remote operation failed: File exists (00000000-0000-0000-0000-000000000000 -> /manu/netbsd/usr/src/lib/libkafs/libkafs.so)
[2012-06-05 11:44:25.275192] E [afr-self-heal-common.c:2156:afr_self_heal_completion_cbk] 0-pfs-replicate-0: background  entry self-heal failed on /manu/netbsd/usr/src/lib/libkafs

The error does not seems to be raised up to the calling process, however.
What is going on?

Emmanuel Dreyfus
manu at netbsd.org

Gluster-devel mailing list
Gluster-devel at nongnu.org

More information about the Gluster-devel mailing list