<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20140808140751062623 { }body { font-size: 10.5pt; font-family: 宋体; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Yes, I do not wait for&nbsp;<span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">synchronization to complete.</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>hwh@sangfor.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div>&nbsp;</div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b>&nbsp;<a href="mailto:romeo.r@gmail.com">Roman</a></div><div><b>Date:</b>&nbsp;2014-08-08&nbsp;13:53</div><div><b>To:</b>&nbsp;<a href="mailto:hwh@sangfor.com">hwh@sangfor.com</a></div><div><b>CC:</b>&nbsp;<a href="mailto:gluster-users@gluster.org">gluster-users</a></div><div><b>Subject:</b>&nbsp;Re: [Gluster-users] about split-brain</div></div></div><div><div class="FoxDiv20140808140751062623"><div dir="ltr">Hello,<div><br></div><div>Did you wait for synchronization to complete before plugging second server off? Usually it need 10-15 minutes. Sometimes faster.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-08-08 5:19 GMT+03:00 <a href="mailto:hwh@sangfor.com">hwh@sangfor.com</a> <span dir="ltr">&lt;<a href="mailto:hwh@sangfor.com" target="_blank">hwh@sangfor.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">
<div>
<div><span></span>hi:</div><div><br></div><div>I have a problem about split-brain,&nbsp;<span style="background-color:rgba(255,255,255,0.8);color:rgb(51,51,51);font-family:Tahoma,Arial;font-size:12px;line-height:24px;text-align:justify">details as below:</span></div>
<div><span style="background-color:rgba(255,255,255,0.8);color:rgb(51,51,51);font-family:Tahoma,Arial;font-size:12px;line-height:24px;text-align:justify"><br></span></div><div><img src="cid:_Foxmail.1@580908b5-c76d-d15e-bc34-b0df73a951e7" border="0"></div>
<div>PC1 and PC2 is AFR, stored a file 1.txt</div><div><br></div><div>1. write "123" to 1.txt, then 1.txt in pc1 is same with 1.txt in PC2, content is "123"</div><div><br></div><div>2. PC1 &nbsp;network disconnect, write "45" to 1.txt, then&nbsp;<span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp;content of&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">1.txt in pc1 is "123", &nbsp;</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp;&nbsp;</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp; &nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">content of&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">1.txt in pc2 is "12345"</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window"><br></span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">3.&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">PC2 &nbsp;network disconnect, but PC1 network is good,&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">write "67" to 1.txt,</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp;then&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp;content of&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">1.txt in pc1 is "12367", &nbsp;</span></div>
<div><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp;&nbsp;</span></div><div><span style="font-size:10.5pt;line-height:1.5;background-color:window">&nbsp; &nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">content of&nbsp;</span><span style="font-size:10.5pt;line-height:1.5;background-color:window">1.txt in pc1 is "12345"</span></div>
<div><br></div><div>4. so split brain occur</div><div><br></div><div><br></div><div>how glusterfs avoid this? Have some ways to solve? this is my questions. thank you</div>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left"><span class="HOEnZb"><font color="#888888">
<div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt"><div><a href="mailto:hwh@sangfor.com" target="_blank">hwh@sangfor.com</a></div></div></span></div>
</font></span></div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>
Roman.
</div>
</div></div></blockquote>
</body></html>