[Gluster-users] 3.7.13, index healing broken?

Dmitry Melekhov dm at belkam.com
Mon Jul 11 09:58:35 UTC 2016


Hello!

3.7.13, 3 bricks volume.

inside one of bricks:

[root at father brick]# ls -l gstatus-0.64-3.el7.x86_64.rpm
-rw-r--r-- 2 root root 52268 июл 11 13:00 gstatus-0.64-3.el7.x86_64.rpm
[root at father brick]#


[root at father brick]# >  gstatus-0.64-3.el7.x86_64.rpm
[root at father brick]# ls -l gstatus-0.64-3.el7.x86_64.rpm
-rw-r--r-- 2 root root 0 июл 11 13:54 gstatus-0.64-3.el7.x86_64.rpm
[root at father brick]#

so now file has  0 length.

try to heal:



[root at father brick]# gluster volume heal pool
Launching heal operation to perform index self heal on volume pool has 
been successful
Use heal info commands to check status
[root at father brick]# ls -l gstatus-0.64-3.el7.x86_64.rpm
-rw-r--r-- 2 root root 0 июл 11 13:54 gstatus-0.64-3.el7.x86_64.rpm
[root at father brick]#


nothing!

[root at father brick]# gluster volume heal pool full
Launching heal operation to perform full self heal on volume pool has 
been successful
Use heal info commands to check status
[root at father brick]# ls -l gstatus-0.64-3.el7.x86_64.rpm
-rw-r--r-- 2 root root 52268 июл 11 13:00 gstatus-0.64-3.el7.x86_64.rpm
[root at father brick]#


full heal is OK.

But, self-heal is doing index heal according to

http://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Developer-guide/afr-self-heal-daemon/

Is this bug?


As far as I remember it worked in 3.7.10....




More information about the Gluster-users mailing list