<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>To: </b>"Jaden Liang" &lt;jaden1q84@gmail.com&gt;<br><b>Cc: </b>gluster-users@gluster.org<br><b>Sent: </b>Friday, November 21, 2014 8:46:42 AM<br><b>Subject: </b>Re: [Gluster-devel] In what kind of circumstance, the changlog trusted.afr.xxx of a file will become 0xFFFFFFFF<br><div><br></div><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000" data-mce-style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000;"><div>Changing cc'd group to gluster-users.</div><div><br></div><div>Hi,</div><div><br></div><div>Could you provide the client and brick logs (bricks 8 and 9 when counting from 0)?</div><div><br></div><div>-Krutika</div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Jaden Liang" &lt;jaden1q84@gmail.com&gt;<br><b>To: </b>gluster-devel@gluster.org<br><b>Sent: </b>Friday, November 21, 2014 8:16:42 AM<br><b>Subject: </b>[Gluster-devel] In what kind of circumstance, the changlog trusted.afr.xxx of a file will become 0xFFFFFFFF<br><div><br></div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">Hi all,</span><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">I have a glusterfs-3.4.5 build with&nbsp;6 x 2&nbsp;Distributed-Replicate volume for KVM storage. And found one of the file is not in a consistant state. I checked the extent attributes of every replica file on brick as below:</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"># file: sf/data/vs/local/d2c2bf42-0206-43db-824b-d2d3872ea42d/98d0e5d0-44c6-4284-ae09-aa0a232056c7/images/cluster/b6da49e44cec/test.vm/vm-disk-1.qcow2</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.afr.vs_vol_rep2-client-8=0xffffffff0000000000000000</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.afr.vs_vol_rep2-client-9=0x000000000000000000000000</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.gfid=0xca90124fa56d42bba7a2840719ed74d6</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.glusterfs.lockinfo=0x0000000100000075000000093c504f534958282f73662f646174612f76732f6c6f63616c2f34313831616363352d633532332d343033662d383664352d3033346566656337316434652f39386430653564302d343463362d343238342d616530392d616130613233323035366337293a686f73742d34633732623965366461376500313733313236313600</span></div></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"># file: sf/data/vs/local/4181acc5-c523-403f-86d5-034efec71d4e/98d0e5d0-44c6-4284-ae09-aa0a232056c7/images/cluster/b6da49e44cec/test.vm/vm-disk-1.qcow2</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.afr.vs_vol_rep2-client-8=0x000000000000000000000000</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.afr.vs_vol_rep2-client-9=0x000000000000000000000000</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.gfid=0xca90124fa56d42bba7a2840719ed74d6</span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">trusted.glusterfs.lockinfo=0x0000000100000075000000093c504f534958282f73662f646174612f76732f6c6f63616c2f34313831616363352d633532332d343033662d383664352d3033346566656337316434652f39386430653564302d343463362d343238342d616530392d616130613233323035366337293a686f73742d34633732623965366461376500313733313236313600</span></div></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;">There is a&nbsp;</span><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">trusted.afr.vs_vol_rep2-client-8=0xffffffff0000000000000000. BTW, one of t</span><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">he servers did disconnect for less than 1 minute then came back 1 miute and keep this loop for one 12 hours(Just testing the glusterfs behavior in bad network circumstance).&nbsp;</span><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">As I know, the changelog of aft-xlator is modified by increase or decrease with 1.&nbsp;</span><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">I think i</span><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">t is unlikely the operations increase to 0xFFFFFFFF. It might be some buggy code decrease changelog to -1 which is 0xFFFFFFFF.</span></div></blockquote></div></blockquote><div>And yes, to answer your question, this does seem like a bug, where a post-op of -1 on the changelog whose value was 0 before could have led to a value of 0xffffffff.</div><div>-Krutika</div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000" data-mce-style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000;"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">Just sending this mail here, may be there is someone met this before or knowing what is going on.</span></div><div><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;"><br></span></div><div><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;">Thanks.</span></div><div><span style="font-family:'courier new',monospace" data-mce-style="font-family: 'courier new',monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><div><span style="font-family: 'courier new', monospace;" data-mce-style="font-family: 'courier new', monospace;"><br></span></div><br>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@gluster.org<br>http://supercolony.gluster.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></blockquote><div><br></div></div></body></html>