<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>I posted a patch for fixing this problem @&nbsp;<a href="http://review.gluster.org/#/c/9267/">http://review.gluster.org/#/c/9267/</a></div><div><br></div><div>Emmanuel,</div><div><br></div><div>Could you apply this patch on NetBSD and see if the test passes now?</div><div><br></div><div>Emmanuel/Pranith,</div><div><span style="font-size: 12pt;">Could you please review this patch?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">-Krutika</span></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>To: </b>"Emmanuel Dreyfus" &lt;manu@netbsd.org&gt;<br><b>Cc: </b>"Gluster Devel" &lt;gluster-devel@gluster.org&gt;<br><b>Sent: </b>Monday, December 8, 2014 12:09:03 PM<br><b>Subject: </b>Re: [Gluster-devel] question on glustershd<br><div><br></div><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000" data-mce-style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000;"><div>Hmmm.. thanks for the info, Emmanuel.</div><div>I'm waiting on a NetBSD machine for debugging this issue.</div><div>I will let you know what I find, when I'm done.</div><div><br></div><div>-Krutika</div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Emmanuel Dreyfus" &lt;manu@netbsd.org&gt;<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>Cc: </b>"Gluster Devel" &lt;gluster-devel@gluster.org&gt;<br><b>Sent: </b>Saturday, December 6, 2014 10:23:34 PM<br><b>Subject: </b>Re: [Gluster-devel] question on glustershd<br><div><br></div>Emmanuel Dreyfus &lt;manu@netbsd.org&gt; wrote:<br><div><br></div>&gt; Forcing the option to on in the sources does not help: it goes throuh<br>&gt; __afr_selfheal_metadata_finalize_source() without finding a source and<br>&gt; returns -1.<br><div><br></div>Tracing further:<br><div><br></div>afr_selfheal_find_direction() get the matrix:<br>0 1<br>1 0 <br><div><br></div>As a result, witness[] is all zero, there is no source. <br><div><br></div>Could it be otherwise? The offending node is obtained this way (I<br>stripped other operations), I do not see how it could be healed, after<br>all:<br><div><br></div>TEST mkdir spb_me_heal <br><div><br></div>TEST kill_brick $V0 $H0 $B0/${V0}0<br>TEST touch spb_me_heal/0<br><div><br></div>$CLI volume stop $V0<br>$CLI volume start $V0 force<br>EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 0<br>EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 1<br>TEST kill_brick $V0 $H0 $B0/${V0}1<br><div><br></div>TEST touch spb_me_heal/1<br><div><br></div>$CLI volume stop $V0<br><div><br></div>$CLI volume start $V0 force<br>EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 1<br>EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 0<br><div><br></div>-- <br>Emmanuel Dreyfus<br>http://hcpnet.free.fr/pubz<br>manu@netbsd.org<br></blockquote><div><br></div></div><br>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@gluster.org<br>http://supercolony.gluster.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></body></html>