[Gluster-users] Question on file reads from a distributed replicated volume

Bharathram Sivasubramanian Bharathram.Sivasubramanian at vantrix.com
Fri Apr 10 21:33:48 UTC 2015


Let us assume that we have a distributed replicated gluster volume with 4 bricks. Brick 1 is replicating its data with Brick 2 and Brick 3 is replicating its data with Brick 4. Suppose a file called aa.txt is present and replicated on Bricks 1 & 2. A gluster client would like to read this file. Which brick will the file come from? In other words:

-        Will the file always be fetched from brick 1?

-        Will the file always be fetched from brick 2?

-        Will the file be fetched from brick 1 or 2 depending on the attempt? i.e. is there some load balancing where sometimes the file comes from brick 1 and at other times the file will come from brick 2?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150410/805331e6/attachment.html>


More information about the Gluster-users mailing list