[Gluster-devel] Re: AFR/Replicate read-subvolume option not working right

Vikas Gorur vikas at gluster.com
Wed Feb 3 11:02:21 UTC 2010


Alex Attarian wrote:
> Thanks Vikas, but how does it know that it's the first access for the 
> file? Also what happens when somehow a file got deleted or corrupted 
> on one of the servers? At what point will gluster replicate that file 
> again?
>
Before any operation can be performed on a file by an application, the 
kernel sends a 'lookup' call
to the filesystem. The 'lookup' is what I meant by first access. 
Self-heal of a file also happens on a
lookup if replicate detects that there's an inconsistency among the 
subvolumes.

Vikas





More information about the Gluster-devel mailing list