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

Alex Attarian u2sashko at gmail.com
Tue Feb 2 16:01:03 UTC 2010


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?

Alex

how does it know

On Tue, Feb 2, 2010 at 12:56 AM, Vikas Gorur <vikas at gluster.com> wrote:

> Alex Attarian wrote:
>
>> I'll give that a try Gordan! Thanks for the info!
>> My other question is does gluster perform a read for the extended
>> attributes on all servers regardless read-subvolume?
>> This is what my tcpdump shows:
>>
> [snip]
>
>
>  Does it have to read the trusted.afr.* attributes from every server every
>> time it reads a file?
>>
> Yes, the extended attributes are read from all servers on the first access
> to the file (i.e., lookup).
> It is not done on every read ().
>
> As Gordon said, this is done to gather the metadata needed to decide
> whether a self-heal
> needs to be done.
>
> Vikas
> --
> Engineer - Gluster, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20100202/10db7132/attachment-0003.html>


More information about the Gluster-devel mailing list