Hello<br>I&#39;m using last gluster from git.<br>I think there&#39;s problem with lock server in AFR mode : <br><br>Test : <br>Server A and B in AFR<br><br>TEST 1 <br>1 / install A , B  then copie a file to A : synchro to B is perfect<br>
2 / erase all B server and resinstall it   : synchronisation is not possible. ( nothing is doing )<br><br>TEST 2<br>1 / install A , B  then copie a file to A (gluster mount point)  : synchro to B is perfect<br>2 / erase all A : reinstall it :  synchro from B is perfect<br>
<br>Now if a redo TEST 1 , but  in my last volume (volume last) ,  I inverse brick_10.98.98.1 and 10.98.98.2  in subvolumes, so now it is 10.98.98.1 as lock server for AFR<br>TEST 1 work  , TEST 2  not .<br><br>I think it try to use lock server where file does not exist in a case, so problem occur. <br>
I try to add 2 lock lock server with <br>option data-lock-server-count 2<br>option entry-lock-server-count 2<br><br>without success, <br>i&#39;m trying with 0  , without success.<br><br><br>Client config file ( the same for A and B ) <br>
<br>volume brick_10.98.98.1<br>type protocol/client<br>option transport-type tcp/client<br>option transport-timeout 120 <br>option remote-host 10.98.98.1<br>option remote-subvolume brick<br>end-volume<br><br><br>volume brick_10.98.98.2<br>
type protocol/client<br>option transport-type tcp/client<br>option transport-timeout 120 <br>option remote-host 10.98.98.2<br>option remote-subvolume brick<br>end-volume<br><br><br>volume last<br>type cluster/replicate<br>
subvolumes brick_10.98.98.2 brick_10.98.98.1 <br>option read-subvolume brick_10.98.98.2<br>option favorite-child brick_10.98.98.2<br>end-volume<br><br>volume iothreads<br>type performance/io-threads<br>option thread-count 4<br>
subvolumes last<br>end-volume<br><br>volume io-cache<br>type performance/io-cache<br>option cache-size 2048MB             # default is 32MB<br>option page-size  1MB             #128KB is default option<br>option cache-timeout 2  # default is 1<br>
subvolumes iothreads<br>end-volume<br><br>volume writebehind<br>type performance/write-behind<br>option block-size 256KB # default is 0bytes<br>option cache-size 512KB<br>option flush-behind on      # default is &#39;off&#39;<br>
subvolumes io-cache<br>end-volume<br><br><br><br>Server config for A and B  the same execpt for IP<br><br><br>volume brickless<br>type storage/posix<br>option directory /mnt/disks/export<br>end-volume<br><br>volume brickthread<br>
type features/posix-locks<br>option mandatory on          # enables mandatory locking on all files<br>subvolumes brickless<br>end-volume<br><br>volume brickcache<br>type performance/io-cache<br>option cache-size 1024MB<br>
option page-size 1MB<br>option cache-timeout 2<br>subvolumes brickthread<br>end-volume<br><br>volume brick<br>type performance/io-threads<br>option thread-count 8<br>option cache-size 256MB<br>subvolumes brickcache<br>end-volume<br>
<br><br>volume server<br>type protocol/server<br>subvolumes brick<br>option transport-type tcp<br>option auth.addr.brick.allow 10.98.98.*<br>end-volume<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>