[Gluster-users] Fwd: AFR healing problem after returning one node.
krishna at zresearch.com
Thu Dec 11 11:50:12 UTC 2008
Can you "cd" out of the glusterfs mount point and "cd" back in. ...see
if that fixes the problem?
If that is the case then it is a known bug. We will be fixing it.
2008/12/11 Raghavendra G <raghavendra at zresearch.com>:
> comments are inlined
> 2008/12/11 Rash <rash at konto.pl>
>> czw, 11 gru 2008, 14:54:38 +0400, Raghavendra G napisał(a):
>> > self heal is triggered when a lookup from pathname to inode happens.
>> > Both ls
>> > and cat file dont result in lookup on the directoy test. Hence self-heal
>> > is
>> > not perfromed. Can you try the following sequence of commands on client?
>> > /home/raghu/mnt/# ls
>> > file
>> > /home/raghu/mnt # rm file
>> > /home/raghu/mnt #cd ../
>> > /home/raghu # ls mnt/
>> I wonder is this a feature or bug. If self-heal is performed after
>> lookup, shouldn't it be triggerd also after ls or cat?
> for the purpose of self-heal, operations that modiefies directory (rm, touch
> etc) are stored as extended attributes on the directory. And checking for
> pending operations can be done only when lookup happens on the directory
> itself (not on directory contents). Note that self-heal is triggered on the
> parent directory not on the file itself.
>> If something is
>> bind to a directory and is presenting it's content after some node is
>> back, gluster can present nonexisting data. Why?
>> rash at konto pl
> Raghavendra G
> Gluster-users mailing list
> Gluster-users at gluster.org
More information about the Gluster-users