Re: Re: AFR/Replicate read-subvolume option not working right

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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.


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux