Occurance of a split brain situation is only under a specific sequence of events and modifications and the filesystem cannot decide which of the two copies of the file is updated. It might so happen that the two changes were actually the same &quot;change&quot; and hence the two copies of your file might match md5sum (in which case you can delete one arbitrarily). If not, you need to know how your application works and which of the file (inspecting the content) is more appropriate to be deleted.<div>
<br></div><div>Avati<br><br><div class="gmail_quote">On Wed, May 4, 2011 at 5:54 PM, Martin Schenker <span dir="ltr">&lt;<a href="mailto:martin.schenker@profitbricks.com">martin.schenker@profitbricks.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all!<br>
<br>
Is there anybody who can give some pointers regarding which file to choose<br>
in a &quot;split brain&quot; condition?<br>
<br>
What tests do I need to run?<br>
<br>
What does the hex AFR code actually show? Is there a way to pinpoint the<br>
&quot;better/worse&quot; file for deletion?<br>
<br>
On pserver12:<br>
<div class="im"><br>
# file: mnt/gluster/brick0/storage/pserver3-19<br>
trusted.afr.storage0-client-5=0x3f0000010000000000000000<br>
<br>
</div>On pserver13:<br>
<div class="im"><br>
# file: mnt/gluster/brick0/storage/pserver3-19<br>
trusted.afr.storage0-client-4=0xd70000010000000000000000<br>
<br>
</div>These are test files, but I&#39;d like to know what to do in a LIFE situation<br>
which will be just around the corner.<br>
<br>
The Timestamps show the same values, so I&#39;m a bit puzzled HOW to choose a<br>
file.<br>
<br>
pserver12:<br>
<br>
0 root@de-dc1-c1-pserver12:~ # ls -al<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
-rw-r--r-- 1 vcb root 3456106496 Apr 29 17:40<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
<br>
0 root@de-dc1-c1-pserver12:~ # ls -alu<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
-rw-r--r-- 1 vcb root 3456106496 Apr 28 16:18<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
<br>
pserver13:<br>
<br>
0 root@de-dc1-c1-pserver13:~ # ls -al<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
-rw-r--r-- 1 vcb root 3456106496 Apr 29 17:40<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
<br>
0 root@de-dc1-c1-pserver13:~ # ls -alu<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
-rw-r--r-- 1 vcb root 3456106496 Apr 28 16:18<br>
/mnt/gluster/brick0/storage/pserver3-19<br>
<br>
Best, Martin<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>