On 10/11/2015 03:53 AM, Lindsay
Mathieson wrote:
Client quorum is applicable only to replica volumes. Server quorum is applicable to all volumes.
Right.
True. Also in the gluster nfs server when you use nfs mounts. Client quorum is implemented in the AFR translator. So it comes into play wherever this xlator is loaded.
More specifically the AFR xlator.
Right. AFR will fail the writes with EROFS.
If an ongoing write did not succeed on the necessary number of bricks due to brick disconnect, that FOP will fail with EROFS. Also, subsequent writes will also fail with the same error until quorum is restored (i.e. client connects to the bricks again). So yes, it is pretty much immediate. True. Unless the brick process actually went down. Not sure if you are referring to other bricks, in which case yes. Not glusterd but the brick process i.e glusterfsd. The implementation of server quorum is in glusterd though. Right. It's more like how many peers the glusterd on each node can see. Have a look at "How to Test" section in http://www.gluster.org/community/documentation/index.php/Features/Server-quorum Correct. By glusterd. Yes. You can still end up in split-brain of the files stored in the volume if sever quorum is enabled. Sever quorum is more useful to avoid conflicts in volume configuration since it also disallows volume set commands, peer probe etc when not in quorum. Client quorum is better if you want to avoid split-brains of files present in the volume. IMHO, client-quorum is enough. In case of dist-rep volumes, it acts on only those replica sets where quorum is not met making only that replica pair EROFS. Server quorum outright kills the bricks, not even allowing read access. But yes, you can enable both.
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users