On 02/03/2016 08:03 PM, Peter Spain
wrote:
That is correct. The client volfile dictates what translators are loaded on the client process. You can look at the various volfiles in /var/lib/glusterd/vols/<volname> on the server to get an idea of what xlators are loaded for different processes and how they are stacked to form a graph. The graph is also printed in the log files of each process as it starts. Each xlator does a specific function. The replication xlator (AFR) is a client xlator that is loaded (among others) on the client graph in case of replicated volumes and has the replication logic. If you specifically want to know how AFR works, you can see https://github.com/gluster/glusterfs-specs/blob/master/done/Features/afr-v1.md. It is a bit dated but the most of it is still valid. Actually, it is the time duration for which the client waits to check if the server is responsive. (see `gluster volume help`), even after connection is established. You would need some sort of a heartbeat for the clients to know that its connection to servers are still intact or lost because a brick went down or there was a network disconnect etc. Not sure what you mean. The client process connects to all the bricks of the volume. Open one of the client volfiles (or the logfile) and study the graph, you'll see many 'protocol/client' xlators, one for each brick that the client needs to talk to. Like I said, the client connects to all bricks of the volume. There are many presentations you can find online on glusterfs architecture. https://gluster.readthedocs.org/en/latest/ is another good start. Hope that helps, Ravi
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users