[Gluster-users] Repost: read access to replicate copies

Rosario Esposito resposit at na.infn.it
Mon Mar 14 15:24:18 UTC 2011


Thanks Vijay for your answer.
It's not clear to me how exactly I can use the "read-child" option.
Should I put it somewhere in /etc/glusterd/vols/myvolume/myvolume-fuse.vol ?
Could you please provide some configuration examples ?

Cheers, Rosario


Il 12/03/2011 07:44, Vijay Bellur ha scritto:
> On Saturday 12 March 2011 02:53 AM, Rosario Esposito wrote:
>> Thank you.
>> I wonder if this is still true for the current version (3.1.2) since
>> that message is quite old.
>> It would be nice, for better performance, if a client (which is also a
>> brick-server) could access its local copy of a file rather than
>> chosing a random server and read it via network.
>
> Yes, read happens from the first available server in case of replicate.
> Read requests are not issued in parallel. If the first read fails, then
> the requests are sent to other servers.
>
> There is an option in replicate to have a favored read-server (option
> read-child). Right now, it is not supported through the gluster CLI. The
> support for it would be available in a subsequent release.
>
> Regards,
> Vijay
>




More information about the Gluster-users mailing list