<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">12.07.2016 17:39, Pranith Kumar
Karampuri пишет:<br>
</div>
<blockquote
cite="mid:CAOgeEnbGqnQG_SB+zk8K54JeHoC4O5Qt6cEgvHH6xn8NxcOo_g@mail.gmail.com"
type="cite">
<div dir="ltr">Wow, what are the steps to recreate the problem?<br>
</div>
</blockquote>
<br>
just set file length to zero, always reproducible.<br>
<br>
<blockquote
cite="mid:CAOgeEnbGqnQG_SB+zk8K54JeHoC4O5Qt6cEgvHH6xn8NxcOo_g@mail.gmail.com"
type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 12, 2016 at 3:09 PM, Dmitry
Melekhov <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dm@belkam.com" target="_blank">dm@belkam.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>12.07.2016 13:33, Pranith Kumar Karampuri пишет:<br>
</div>
<span class="">
<blockquote type="cite">
<div dir="ltr">What was "gluster volume heal
<volname> info" showing when you saw this
issue?<br>
</div>
</blockquote>
<br>
</span> just reproduced :<br>
<br>
<br>
[root@father brick]# > gstatus-0.64-3.el7.x86_64.rpm <br>
<span class=""> <br>
[root@father brick]# gluster volume heal pool <br>
Launching heal operation to perform index self heal on
volume pool has been successful <br>
Use heal info commands to check status<br>
</span> [root@father brick]# gluster volume heal pool info<br>
Brick father:/wall/pool/brick<br>
Status: Connected<br>
Number of entries: 0<br>
<br>
Brick son:/wall/pool/brick<br>
Status: Connected<br>
Number of entries: 0<br>
<br>
Brick spirit:/wall/pool/brick<br>
Status: Connected<br>
Number of entries: 0<br>
<br>
[root@father brick]# <br>
<div>
<div class="h5"> <br>
<br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jul 11, 2016 at
3:28 PM, Dmitry Melekhov <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:dm@belkam.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:dm@belkam.com">dm@belkam.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hello!<br>
<br>
3.7.13, 3 bricks volume.<br>
<br>
inside one of bricks:<br>
<br>
[root@father brick]# ls -l
gstatus-0.64-3.el7.x86_64.rpm<br>
-rw-r--r-- 2 root root 52268 июл 11 13:00
gstatus-0.64-3.el7.x86_64.rpm<br>
[root@father brick]#<br>
<br>
<br>
[root@father brick]# >
gstatus-0.64-3.el7.x86_64.rpm<br>
[root@father brick]# ls -l
gstatus-0.64-3.el7.x86_64.rpm<br>
-rw-r--r-- 2 root root 0 июл 11 13:54
gstatus-0.64-3.el7.x86_64.rpm<br>
[root@father brick]#<br>
<br>
so now file has 0 length.<br>
<br>
try to heal:<br>
<br>
<br>
<br>
[root@father brick]# gluster volume heal pool<br>
Launching heal operation to perform index self
heal on volume pool has been successful<br>
Use heal info commands to check status<br>
[root@father brick]# ls -l
gstatus-0.64-3.el7.x86_64.rpm<br>
-rw-r--r-- 2 root root 0 июл 11 13:54
gstatus-0.64-3.el7.x86_64.rpm<br>
[root@father brick]#<br>
<br>
<br>
nothing!<br>
<br>
[root@father brick]# gluster volume heal pool
full<br>
Launching heal operation to perform full self
heal on volume pool has been successful<br>
Use heal info commands to check status<br>
[root@father brick]# ls -l
gstatus-0.64-3.el7.x86_64.rpm<br>
-rw-r--r-- 2 root root 52268 июл 11 13:00
gstatus-0.64-3.el7.x86_64.rpm<br>
[root@father brick]#<br>
<br>
<br>
full heal is OK.<br>
<br>
But, self-heal is doing index heal according
to<br>
<br>
<a moz-do-not-send="true"
href="http://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Developer-guide/afr-self-heal-daemon/"
rel="noreferrer" target="_blank">http://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Developer-guide/afr-self-heal-daemon/</a><br>
<br>
Is this bug?<br>
<br>
<br>
As far as I remember it worked in 3.7.10....<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gluster-users@gluster.org"
target="_blank">Gluster-users@gluster.org</a><br>
<a moz-do-not-send="true"
href="http://www.gluster.org/mailman/listinfo/gluster-users"
rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">Pranith<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Pranith<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>