<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/16/2014 07:47 PM, Jia-Hao Chen
wrote:<br>
</div>
<blockquote
cite="mid:CAAPdoqiCfr8Srnk7t084ROohDGTkPLbseHtP8YssmbvVsjjyng@mail.gmail.com"
type="cite">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>I create a replicated volume with 2 nodes.</div>
<div>And I make a directory and create a few files in it.</div>
<div><br>
</div>
<div>[/mnt/gluster] # mkdir dir1</div>
<div>
<div>[/mnt/gluster] # echo 123 >> dir1/a</div>
</div>
<div>
<div>[/mnt/gluster] # echo 123 >> dir1/b</div>
</div>
<div>
<div>[/mnt/gluster] # echo 123 >> dir1/c</div>
</div>
<div><br>
</div>
<div>Then I bring down node 2 and rename dir1 to dir2</div>
<div><br>
</div>
<div>[/mnt/gluster] # mv dir1 dir2</div>
<div><br>
</div>
<div>After bring back node 2, dir1 reappear</div>
<div><br>
</div>
<div>[/mnt/gluster] # ls -l</div>
<div>
<div>drwxr-x--- 2 harry harry 4096 Apr 16 11:30
dir1/</div>
<div>drwxr-x--- 2 harry harry 4096 Apr 16 11:30
dir2/</div>
</div>
<div><br>
</div>
<div>
<div>It surprised me. But it makes sense since dir1 is still
on node 2.</div>
<div>When node 2 come back, dir1 is healed on another node.</div>
<div>However when I list both dir1 and dir2, the file list is
empty.<br>
</div>
</div>
<div><br>
</div>
<div>
<div>[/mnt/gluster] # ls -l dir1</div>
<div>
<div>[/mnt/gluster] # ls -l dir2</div>
</div>
<div>[/mnt/gluster] #<br>
</div>
<div><br>
</div>
<div>It seems a bug to me.</div>
<div>What is the expected result of this case?</div>
<div><br>
</div>
</div>
</div>
</blockquote>
This is strange. The expected result is that node 2 must also
contain only dir2. i.e. the self-heal must happen from node 1 to
node 2 once the latter comes back online.<br>
Are the files present in the backend bricks?<br>
<br>
-Ravi<br>
<blockquote
cite="mid:CAAPdoqiCfr8Srnk7t084ROohDGTkPLbseHtP8YssmbvVsjjyng@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Best regards,</div>
<div>Chen, Chia-Hao</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>