Re: split brain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 15, 2012 at 02:47:30PM -0400, Jeff Darcy wrote:
> Maybe if you could look at the actual xattr values when the code
> enters afr_build_sources we could see what the pending matrix looks 
> like before we start tweaking it.  

Here are my logs in afr_build_pending_matrix:

xattrr[0] ((trusted.afr.gfs33-client-0:)(trusted.afr.gfs33-client-1:))
pending_key[0] = "trusted.afr.gfs33-client-0"
pending = 0 0 0 1000000, type = 1, k = 1

xattrr[0] ((trusted.afr.gfs33-client-0:)(trusted.afr.gfs33-client-1:))
pending_key[1] = "trusted.afr.gfs33-client-1"
pending = 0 2 0 1000000, type = 1, k = 1

xattrr[1] ((trusted.afr.gfs33-client-0:)(trusted.afr.gfs33-client-1:))
pending_key[0] = "trusted.afr.gfs33-client-0"
pending = 0 1 0 1000000, type = 1, k = 1

xattrr[1] ((trusted.afr.gfs33-client-0:)(trusted.afr.gfs33-client-1:))
pending_key[1] = "trusted.afr.gfs33-client-1"
pending = 0 0 0 1000000, type = 1, k = 1

pending_matrix: [ 0 2 ]
pending_matrix: [ 1 0 ]

On all vricks, .glusterfs/3e/6b/3e6b026a-b9ed-4845-a5d1-6eb06412b3ca
iis a symlink to directory 
.glusterfs/4b/34/4b34a8a2-bff2-4684-b005-a36b069914ab/arch

I a m bit surprised to see a link to a subdir of a .glusterfs hash.
Is it something that makes sense? Or is it again a link(2) that should
be remplaced by linkat(2) ?

Here are the xattr for the directory:

gfs33-client-0
trusted.glusterfs.dht   00000001000000007fffffffffffffff
trusted.afr.gfs33-client-1      000000000000000200000000
trusted.afr.gfs33-client-0      000000000000000000000000
trusted.gfid    3e6b026ab9ed4845a5d16eb06412b3ca

gfs33-client-1
trusted.glusterfs.dht   00000001000000007fffffffffffffff
trusted.afr.gfs33-client-1      000000000000000000000000
trusted.afr.gfs33-client-0      000000000000000100000000
trusted.gfid    3e6b026ab9ed4845a5d16eb06412b3ca

gfs33-client-2
trusted.glusterfs.dht   0000000100000000000000007ffffffe
trusted.afr.gfs33-client-3      000000000000000000000000
trusted.afr.gfs33-client-2      000000000000000000000000
trusted.gfid    3e6b026ab9ed4845a5d16eb06412b3ca

gfs33-client-3
trusted.afr.gfs33-client-3      00000000000000000000000000
trusted.afr.gfs33-client-2      00000000000000000000000000
trusted.glusterfs.dht   0000000100000000000000007ffffffe
trusted.gfid    3e6b026ab9ed4845a5d16eb06412b3ca

I understand pending are the trusted.afr from the bricks,
but what do they represent, by the way?

-- 
Emmanuel Dreyfus
manu@xxxxxxxxxx



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux