[Gluster-devel] Avoid split-brains on replica-2

Christopher Pereira kripper at imatronix.cl
Mon May 11 20:45:38 UTC 2015


On 11-05-2015 15:40, Christopher Pereira wrote:
>
>> There is an arbiter feature for replica 3 volumes 
>> (https://github.com/gluster/glusterfs/blob/master/doc/features/afr-arbiter-volumes.md) 
>> being released in glusterfs 3.7 which would prevent files from going 
>> into split-brains, you could try that out. If the writes can cause a 
>> split-brain, it is failed with an ENOTCONN to the application.

Seems to be broken, because files are also stored on the 3rd brick, even 
when using "replica 3 arbiter 1".
Also, I don't see the .meta dir inside the mount point.

Bricks 1 and 2 are using:

glusterfs-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-rdma-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-cli-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-api-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-server-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-geo-replication-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-libs-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
glusterfs-fuse-3.7.0beta1-0.131.gitf54b232.el7.centos.x86_64
vdsm-gluster-4.17.0-778.git597bb40.el7.noarch
glusterfs-debuginfo-3.7.0beta1-0.155.git72f80ae.el7.centos.x86_64

Brick 3 is using:

glusterfs-fuse-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-geo-replication-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-cli-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-api-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-server-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-rdma-3.8dev-0.58.gitf692757.el7.centos.x86_64
vdsm-gluster-4.17.0-743.gite5856da.el7.noarch
glusterfs-libs-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-3.8dev-0.58.gitf692757.el7.centos.x86_64
glusterfs-debuginfo-3.8dev-0.58.gitf692757.el7.centos.x86_64




More information about the Gluster-devel mailing list