Description of problem: An empty file with dirty flags with the same values on two server stats successfully but remain with dirty AFR flags. Version-Release number of selected component (if applicable): All this has been tested with Gluster 3.2.6 I mentioned 3.2.5 at "Version(s)" above for the lack of 3.2.6 option on the dropbox. How reproducible: Always Steps to Reproduce: 1.# getfattr -d -e hex -m . "/brick/empauta_fotografador-2/touch" getfattr: Removing leading '/' from absolute path names # file: brick/empauta_fotografador-2/touch trusted.afr.empauta_fotografador-client-0=0x000000000000000000000000 trusted.afr.empauta_fotografador-client-1=0x000000000000000000000000 trusted.afr.empauta_fotografador-io-threads=0x000000000000000100000000 trusted.afr.empauta_fotografador-replace-brick=0x000000000000000100000000 trusted.gfid=0x31110c34fe7e4b2fa1ab687a3cce679d 2.# getfattr -d -e hex -m . "/brick/empauta_fotografador-1/touch" getfattr: Removing leading '/' from absolute path names # file: brick/empauta_fotografador-1/touch trusted.afr.empauta_fotografador-client-0=0x000000000000000000000000 trusted.afr.empauta_fotografador-client-1=0x000000000000000000000000 trusted.afr.empauta_fotografador-io-threads=0x000000000000000100000000 trusted.afr.empauta_fotografador-replace-brick=0x000000000000000100000000 trusted.gfid=0x31110c34fe7e4b2fa1ab687a3cce679d 3.# stat "/mnt/temp/touch" File: `/mnt/temp/touch' Size: 0 Blocks: 8 IO Block: 131072 regular empty file Device: 18h/24d Inode: 18446744073147109399 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-10 11:05:37.000000000 -0300 Modify: 2012-04-10 11:05:37.000000000 -0300 Change: 2012-04-10 11:07:12.514528991 -0300 Birth: - Actual results: AFR flags remain dirty after successfull stat. Expected results: Cleaned AFR flags Additional info: This might be a duplicate of bug #811244, please advise. This might be related to the stat-prefetch issue mentioned by Jeff Darcy at https://bugzilla.redhat.com/show_bug.cgi?id=764232#c14
Rodrigo, Can you please try 3.3.0 release and see if its fixed?
Rodrigo, Could you let us know the steps you took that lead the file into this state. Pranith.
Hi, I was having major stability problems in my gluster servers caused by bad eletricity and bad UPS so the server were randomly restarted. When trying to solve split brain scenarios, I found this situation.
the dirty flags indicate that they are pending changelog from replace-brick. Any information you could provide about how to re-create such a scenario?.
As I said, in reality I got servers getting out of power repeatly in some crazy way. I got all kinds of problems (I filled other bugs for the others similar issues). To test I would suggest settings the values manually as I can't detail a series of organized steps that would take to this situation.
Data migrating part of replace brick is going to be deprecated. Remove-brick and add-brick is taking its place so Closing this bug as won't fix.