<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 13, 2016 at 2:45 PM, Ashish Pandey <span dir="ltr">&lt;<a href="mailto:aspandey@redhat.com" target="_blank">aspandey@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div>Hi All,<br></div><div><br></div><div>We have been seeing an issue where re balancing symbolic links leads to an assertion failure in EC volume.<br></div><div><br></div><div>The root cause of this is that while migrating symbolic links to other sub volume, it creates a link file (with attributes .........T) .<br></div><div>This file is a regular file. </div><div>Now, during migration a setattr comes to this link and because of possible race, posix_stat return stats of this &quot;T&quot; file.</div><div>In ec_manager_seattr, we receive callbacks and check the type of entry. If it is a regular file we try to get size and if it is not there, we raise an assert.<br></div><div>So, basically we are checking a size of the link (which will not have size) which has been returned as regular file and we are ending up when this condition </div><div>becomes TRUE.<br></div><div><br></div><div>Now, this looks like a problem with re balance and difficult to fix at this point (as per the discussion).</div><div>We have an alternative to fix it in EC but that will be more like a hack than an actual fix. We should not modify EC <br></div><div>to deal with an individual issue which is in other translator.<br></div><div><br></div><div>Now the question is how to proceed with this? Any suggestions?<br></div></div></div></blockquote><div><br></div><div>Raghavendra/Nithya,<br></div><div>         Could one of you explain the difficulties in fixing this issue in DHT so that Xavi will also be caught up with why we should add this change in EC in the short term.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000"><div></div><div><br></div><div>Details on this bug can be found here - <br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1402538" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1402538</a> <br></div><div><br></div><div>----<br></div><div>Ashish<br></div><div> <br></div><div><br></div><div><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></div>