<br><div class="gmail_quote">On Thu, Apr 12, 2012 at 1:45 AM, Robert Hajime Lanning<span dir="ltr"></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, now you have a &quot;split-brain&quot; problem.<div><br>
 <br></div></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"></div>
Which directory is the &quot;source of truth&quot;?<br>
<br>
did &quot;howareyou&quot; exist on 10.0.2.15 and was deleted during the outage, or is it a new file?<br>
vice versa for &quot;hello&quot;<br>
<br>
So, when you look at the directory itself, which state is correct?<br>
<br>
Gluster does not have a transaction log for each brick, to sync<br>
across.<br></blockquote><div> </div><div>What do you mean by &quot;source of truth&quot;?<br>howareyou did not exist on 10.0.2.15, it was created only on 10.0.2.14 and ideally it should have been replicated to .15 when connectivity recovered.<br>
Actually, both states are correct. Imagine /a is the document root of a website deployed on 2 servers. By using DNS round robin, one request was balanced to 10.0.2.14 and created the file howareyou, and the second request was balanced to 10.0.2.15 and created the file hello. If gluster wasn&#39;t having connectivity issues, everything would have been fine and the files would have been replicated among the 2 servers. But gluster was having connectivity issues at that moment, while the other services (apache) were not, and when gluster connectivity recovered the split-brain occurred. <br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"></div>
Tar replica1 and untar on replica2.  Then delete everything on replica1.<br>
Then self-heal should take care of the rest.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>This does not have any effect. As I cannot work anymore with the mountpoint /a, I am left with modifying only the local directory, named by me /local. Error persists.<br>
<br>On 04/11/12 04:00, Alex Florescu wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">
The only way to recover this was to delete the offending files. This was<br>
easy to do on the test environment because there were two files involved [...]<br></div></blockquote><br>I was mistaken here. Even by doing this I still get &quot;Input/Output error&quot;. <br><br></div></div>